Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - spyfox

#1
yes, good idea.
i think i go working with gui and import/export txt files.
and i want to have  an arena with obstacles. how can i scan th obstacles ?
#2
Beginners' Technical Questions / robot fight
Fri 21/12/2007 10:56:50
i want to make a game like "java robots" and "c robots"
the idee:
2 programs (robots) fight into an arena
the robots are 2 txt files and the game detect the txt files
into the txtfiles you put something like:

int destination_x
int destination_y

scan(enemy)
shoot(enemy_x,enemy_y)
move(destination_x,destination_y)
if (robot_damaged){
destination_x+36
destenation_y+55
}

(this is a very simple example: it can't shoot the enemy,the enemy moves also and this robot can't hit)

you must avaible to scan 2 times and measure the course of the enemy.
functions:
function shoot
function scan
function move

i dont know howto begin
SMF spam blocked by CleanTalk