This is a simple version of TicTacToe written in C. I wrote this primarily to help a friend of mine. It has virtually no error checking (primarily in regards to the scanf functions, so don’t mess up while inputting!) #include <stdio.h> char board[3][3]; char turn = ‘X’; void init(char board[3][3]); void draw(char [...]
Posts Tagged ‘Programming’
BrainF*** (Programming Language) – minor varient
Posted by kenny on January 14th, 2011
Earlier this year I was playing around with making simple programming languages and came across “BrainFuck”. I, being bored decided to write my own BrainFuck Interpreter and of course made a few changes along the way (only in I/O functions, added integer support since BrainFuck only deals with characters). If interested, I recommend reading more [...]
Simulation Program (Motivated by John Conway’s Game of Life) – C/C++
Posted by kenny on July 13th, 2010
In this little simulation demo I created four simple rules, of which can be activated by uncommenting them out in the source code. Though nothing too complex emerges, I still liked some the resulting behavior. Particularly, rule1(), results in colors slowly grouping together in various forms. It may be hard to immediately noticed so watch [...]

Posted in
Tags:

