Tank Escape

applarge

Tank Escape is another one windows phone 7 game, which developed using the A* path finding algorithm and is available at windows phone marketplace for download.

Download Tank Escape

Description

Try to disable enemy terminals and earn as many points as you can. The enemies however are many and will hunt you. Use special weapons to win the battle. Avoid unnecessary movements because as time passes, the enemies are getting more. Move quickly and accurately to be saved. The war is on your fingers!

Screenshots

PauseScreen

screen1

screen2

Download Tank Escape

Space Battle

ApplicationTilelarge

Recently i developed the Space Battle, a windows phone 7 shooter game based on “2D game development tutorial with XNA Game Studio” and is available at windows phone marketplace for download.

Download Space Battle

Description

Destroy the enemy spaceships to earn as many points as you can. Beware the asteroids that come from afar. Shoot to destroy them before being damaged. Test your reflexes and speed of your fingers with Space Battle!

Screenshots

TitleScreen

gameplay1

gameplay2

gameover (2)_thumb[8]

Download Space Battle

SilverMap Project

http://www.chalvantzis.com/SilverMap/ 

SilverMap

Download Source Code @ Codeplex

SilverPoiMap provides interactive searching and management of Points of Interest. It is a Facebook client application which allow you to connect to your Facebook account and manage your points and profile.

A Silverlight 3 Project using BingMap Services and the Facebook Toolkit.
Search for Points of Interest on a Map or use your Facebook account to
add or comment a Point.

Intelligence such as Personalized Points coming soon…

SilverMapCapture

http://www.chalvantzis.com/SilverMap/

Snippet Management System

Silverlight 2 Controls

TMS

I have just released a new Silverlight 2 Web Site, for TMS, which uses the following controls:

Carousel control
A while back I wrote a post about upgrading a Carousel control to Silverlight version 2 beta 2 . Now it is a Silverlight version 2 control.
Carousel

Download Carousel Source Code

Menu control
A black gradient dropdown top menu.

Menu

Download Silverlight Menu Source Code

Driving Simulator

DrivingSimulator

Live Demo!

Synchronize Google Maps and Microsoft Virtual Earth Maps

Download Source Code

iEnergis

image

 

Source Code Here

http://www.codeplex.com/iEnergis


Project Description

Reducing the energy needs of buildings plays a key role in achieving climate protection goals worldwide. The biggest potential for savings is in the consumption of heating energy. The latter currently accounts for about a third of our total energy requirement. In commercial buildings and other purpose-built structures the lighting is also an important factor, responsible for some 20% of overall power consumption in this sector. In addition to protection of the environment, there are also sound economic reasons that compel us to act. This applies in particular to public buildings such as schools and universities, whose escalating operating and energy costs make a big dent in the budgets of communities and states.
Just like we humans depend on our mind and perception, intelligent green buildings need a complete and intelligent system (iENERGIS) that makes decisions depending on the energy consumption.In addition, the iENERGIS application provides remote monitoring and control of the electrical appliances in a building. Through our web site every user can send his data to our live database, and so, with the use of virtual earth, we can monitor the energy consumption in a whole area. These could be used from environmental organisations and energy companies so that to optimize the energy supply in an area and to export statistical data.
image

Project Goals

•Energy savings with lighting control
•Energy savings with temperature control
•Energy savings by controlling the rest of the electric devices
•Energy savings by implementing building automation scenarios
•Energy savings with motion detector control
•Remote monitor and control of the house
•Real time monitoring of the energy consumption in whole areas
•Statistical analysis of the data provided by the users

Project Requirements

  • Visual Studio 2008
  • Microsoft .Net Framework 3.5
  • Windows Mobile Pro 6 SDK

http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D48091A390B&displaylang=en

  • Silverlight 2

http://www.microsoft.com/downloads/details.aspx?FamilyID=e0bae58e-9c0b-4090-a1db-f134d9f095fd&displaylang=en

  • Microsoft SQL Server Compact 3.5 SP1

http://www.microsoft.com/downloads/details.aspx?FamilyId=68539FAE-CF03-4C3B-AEDA-769CC205FE5F&displaylang=en

  • ADO.NET Entity Framework Beta 3 & ADO.Net Entity Framework Tools Dec 07 Community Technology Preview

http://www.microsoft.com/downloads/details.aspx?FamilyId=15DB9989-1621-444D-9B18-D1A04A21B519&displaylang=en
http://www.microsoft.com/downloads/details.aspx?FamilyId=D8AE4404-8E05-41FC-94C8-C73D9E238F82&displaylang=en

iEnergis Architecture

image

Application Components

iENERGIS application can be divided into four distinct, yet integrated, modules:
iENERGIS PC Application
The iENERGIS PC Application serves as the control system of the iENERGIS application for the specific house. The PC application communicates, via RS-232 serial port, with the CM11 or Z-Wave Controller. Using Microsoft Virtual Earth, a certain household can be located and, then, saved in the application database. Next, the user can determine the zones of the house, filling the information concerning its name and id which must match the zone id of every plug end in the specific zone. Finally, in each zone the user can add a plug by filling the information concerning its name, power consumption in watts and id which must match the plug id of the specific plug end. The aforementioned information is, then, saved in the database. Another feature of the PC Application is the real-time monitoring of the household. The user can view the total power consumption of the household and also, partially, the consumption of every zone and every unique plug. Apart from monitoring the system, the user can intervene by turning on and off a specific plug.
image
image
image
iENERGIS Mobile Application
The iENERGIS Mobile Application can be used for monitoring and controlling the power consumption of the household. The user can view the total power consumption of the household and also, partially, the consumption of every zone and every unique plug. Apart from monitoring the system, the user can intervene by turning on and off a specific plug.
image
iENERGIS Server Application
The iENERGIS server is composed of an IIS Web Server hosting Web Services for the exchange of the aforementioned data between the server, the Mobile Application and the Website
iENERGIS Website
The iENERGIS Website support multiple households per user. To explain, each user can have several households manipulated by the iENERGIS application, each one using its own iENERGIS PC Application. Using Microsoft Virtual Earth the user, after logging to the system, can view all his households in the map. In addition, the user can view the total power consumption of a specific household and also, partially, the consumption of every zone and every unique plug. Apart from monitoring the system, the user can intervene by turning on and off a specific plug. In addition, via Microsoft Virtual Earth, the user can view in real time the power consumption in the surrounding area.
image
image
image

Technologies

Servers: IIS, Microsoft SQL Server 2005 Developer Edition, Microsoft SQL Server 2005 Compact Edition SP1
Development Tools: Microsoft Visual Studio 2008 Team Suite
Other Technologies: .NET Compact Framework 3.5, Windows Mobile SDK 6.0, Windows Vista Ultimate, Microsoft Silverlight 2.0, Microsoft Expression Studio 2, ASP.NET, VB.NET, C#, WCF, WPF, ADO.NET Entity Framework, Microsoft Virtual Earth
Hardware: X10 Protocol, CM11 Serial RS-232 Controller, X10 Appliances, Z-Wave
SDK, Dell Axim 51V.

Further Improvements

The iENERGIS PC Application will be modified in order to support real-time statistics of the power consumption of the house, specific zone or specific plug for a specific time period and presenting them with charts. In addition, the algorithm that makes energy-efficient decisions will be optimized using fuzzy logic decisions and sending user notifications via SMS and e-mail. Finally, the energy-efficient decisions can be altered by some additional web services, i.e. a weather service can affect the heating or cooling system.

"Fuzzy Logic Decisions and Web Services for a Personalized GIS" @ SpringerLink

My work

Fuzzy Logic Decisions and Web Services for a Personalized Geographical Information System

published in New Directions in Intelligent Interactive Multimedia of Studies in Computational Intelligence. You can view my paper at: http://dx.doi.org/10.1007/978-3-540-68127-4_45
(you may need to copy and paste the URL into your browser).

Unix – Time Server – Sockets

/* File: timediffthr.c  */
/* Chalvatzis Konstantinos */

Read the rest of this entry »

Unix – Last Info

#! /bin/sh
# Usage : ./crontabintf

Read the rest of this entry »

Member – Subset – Union – Intersection

member(X,[X|R]).
member(X,[Y|R]) :- member(X,R).

substitute(X,Y,[],[]).
substitute(X,Y,[X|S],[Y|S1]):-substitute(X,Y,S,S1).
substitute(X,Y,[Z|S],[Z|S1]):-X\==Z,substitute(X,Y,S,S1).

Read the rest of this entry »

Gauss-Seidel-Jordan

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void diamorfosipinakon(float **a,float *b,float b_h,float **m,int n,float s);
void gauss(float **a,float *b,float **m,float *x,int n);
void gjordan(float **a,float **a1,float *b,float **m,float *x,int n);
void sor(float **a,float *b,float *x0,float *x1,int n,float w);
void esor(float **a,float *b,float *x0,float *x1,int n,float w);
void cgauss(float **a,float *b,float **m,float *x,float *c,int n);
void cgjordan(float **a,float **a1,float *b,float **m,float *x,float *c,int n);
void csor(float **a,float *b,float *x0,float *x1,float *c,int n,float w);

Read the rest of this entry »

Newton-Raphson (NR)

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#define MAX 200
#define ED 0.5e-12
#define ENR 0.5e-16

Read the rest of this entry »

Προσομοίωση Glomosim

Προσομοιώστε ένα απλό σενάριο 2 σταθερών κόμβων που ανταλλάσσουν CBR (Constant Bit Rate) πακέτα.

Νοde number = 2, Terrain = 1000×1000, Traffic Pattern = CBR, Packet Length = 512B, Data Rate = 1 Mbps, Simulation time = 10s, Static Routing

Για τη προσομοίωση του παραπάνω σεναρίου θέτουμε τις ακόλουθες τιμές αρχικοποίησης στο βασικό αρχείο ρυθμίσεων (config.in) του Glomosim.

SIMULATION-TIME 10S
TERRAIN-DIMENSIONS (1000, 1000)
NUMBER-OF-NODES 2
PROPAGATION-PATHLOSS FREE-SPACE
ROUTING-PROTOCOL STATIC
STATIC-ROUTE-FILE ROUTES.IN

Read the rest of this entry »

Ανάλυση σχήματος

Για την υλοποίηση του αλγορίθμου chain code χρησιμοποιείται ένα σύνολο συναρτήσεων, οι οποίες είναι υλοποιημένες σε διαφορετικά αρχεία. Πιο συγκεκριμένα, ο κώδικας που χρησιμοποιείται για την υλοποίηση του αλγορίθμου chain code είναι ο εξής:

Read the rest of this entry »