This is a simple version of John Conway’s Game of Life written in C/C++ and runs on Windows using ASCII graphics. For a more interesting version using SDL to draw pixel graphics, check out this link: John Conway’s Game of Life – C++/SDL Here is the code for the ASCII Version: 1 2 3 4 [...]
Archive for July, 2011
TicTacToe – C (procedural style)
Posted by kenny on July 19th, 2011
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 [...]

Posted in
Tags:

