 |
|
 |
Main Menu |
|
 |
Forums |
|
 |
Programming Contest |
|
 |
Documentation
|
|
 |
Partner
Sites |
|
 |
Sponsors |
|
 |
|
|
Register •
FAQ
• Search • Login
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
sites4all
Junior Member
Joined: Fri Dec 21, 2007 4:40 am Posts: 4 Location: Chandlers Ford, Hampshire, UK
|
 Mathematical Games
I like writing games where a human plays against the computer, and the computer uses mathematics to calculate its moves.
I have written two such games: phpNIM and Bridj-It
They can be seen at: along with a couple of other funky scripts.
phpNIM was the easiest to program, as the computer's move is calculated using simple binary arithmetic.
Bridj-It (a version of GALE) was much more complicated as it requires the solution of a number of simultaneous linear equations with 21 unknowns. This was done using matrix algebra with gaussian elimination. The graphics are all done in html and css.
|
Fri Dec 21, 2007 5:59 am |
|
 |
sites4all
Junior Member
Joined: Fri Dec 21, 2007 4:40 am Posts: 4 Location: Chandlers Ford, Hampshire, UK
|
|
Mon Jul 07, 2008 9:12 am |
|
 |
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|
|
|