Programs by me
Ok, here there are some stupid programs made by me...
I started learning programming a year ago, so don't expect much from this page...
=>>dama
I don't know how to describe him... he is just MY program... he's me in another life in a byte form...
HE, is a program written in c++ to play draught against computer... it's not finished, when i'll finish it, i'll have to die... nothing else to do...
atm he has got a simple minmax algoritm that is not working very well... i don't spend other time explaining how to play with him...
I think i'll have to rewrite it from zero, 'cause of a little design error...sigh...i hate pseudocode...so, like always Chioma says, "..quasi.."
:)
=>>dictionary
a little script written in perl to convert words from english to italian and vice-versa...
a *working* version can be found at http://babel.altervista.org/src/dictionary.rar
if link doesn't work, copy and paste link...altervista is free, but suck...
=>>snake
a simple c program of the famous game...
it's not a difficul program to code, but i did some strange things with pointers and structure... if
you are a c programmer you have understood what i mean... ;)
it's slow, but coding it made me finally understand pointers
tris
when someone learns a new programming language, he writes an "hello world!" program...
when babel learns a new programming language, he writes a tris with AI program :P
i have the following version:
=>tris in perl
=>tris in java
=>tris in c++
these three are quite the same program in the three different languages.
all of them use a minmax algoritm to decide moves, so, if you lose, don't worry:
you are not dump.
A splecial word goes for another tris program... if dama is me, this is my mother...
tris in pascal.
for me this program has an sentimental value... i still remind when, playing with turbo pascal 7.0, i and
some of my friends, used to write casual word in english and try to use those words that magically become white...
sigh! :'-(
it has no AI, but don't try to change this program... i might become a little dengerous ;)
this is my first program that made me fall in love with programming... so don't touch it... you have been warned...