thenaz.net


Command-Line Connect4

connect4.cpp

This is one of the first programs that I ever wrote. You can even play against the computer (though in this version, the computer player just randomly places its token). I later developed "smarter" AI's, which I will also post if I manage to find the code. I compiled and tested this program with Visual Studio.

Connect4

Minesweeper

Minesweeper.java

Title says it all. It's a Java implementation of minesweeper that I wrote in highschool

Minesweeper

Bit Representation of Floats

float.c

This program asks you to input a floating point number and will display the 32-bit representation and 64-bit representation according IEEE 754. The different fields are displayed in different colors. The sign bit is red, the exponent field is blue, and the significant is yellow.(Note: This program has only been tested with the gcc compiler).

example for float.c