Works by category

ajax art assembler c C++ Delphi featured_sites fun_&_games home_page interchange java javascript media mobile php ruby useful_tools widget Windows

Works tagged with c

miniapps

I’ve written nine text-based games that you can play. The games are:

  • Pig dice game; Pig is a simple jeopardy dice game. I’ve made a modified
    version you can play against someone else.
  • The game of Nim (easy and hard version); The game of Nim is a classic
    Chinese game in which players take turns removing marbles from a pile according
    to set rules. The player that removes the last marble wins. You can play
    against the computer with 2 levels of artificial intelligence.
  • Guessing game (easy and hard version); There are 2 guessing game. In
    the easy version you play a game of higher/lower against the computer. The
    hard version requires you to guess the square root of a given number to one
    decimal place within 8 guesses.
  • Jackpot!; This is a simple poker machine game (pretend!). It’s highly addictive.
  • q2q; This displays a random quote from the Q2 Quotes Database.
  • dicer; This program allows you to roll a dice with the syntax from Dungeons & Dragons.
  • mathp; This program can break down mathematical expressions and tell you the result.

You can download all the games at once here.
Download the file, then open it using a program like WinZip.

Sieve of Eratosthenes

This Sieve of Eratosthenes was created as an assignment for CPT 31 (Royal Melbourne Institute of Technology University) for subject C/ANSII which I completed with High Distinction in 2004.

the url links to an executable file to perform Sieve of Eratosthenes; doublets; case conversion; month calendar with print out.

Acronym Lookup Tool (command line version)

ALT (Acronym Lookup Tool) is a useful software tool for anyone who’s starting out in chat rooms or email,
or just if you’ve been dumbfounded by acronyms such as AWGTHTGTTA.
ALT allows you to enter in an acronym, and it will tell you what it means.

If a familiar graphical interface is not paramount to you, there is a command-line version of ALT.
You can download it by clicking the link above (58KB – 5 seconds on a 56.6Kbs modem).
Just select “Save” when asked, wait for it to download, then go to where you downloaded ALT,
and double-click the file called “ALTDOS.exe”.

The console version is hand-written in ANSI C.

uptime

Is your computer as stable as a rock?
Can your PC stay up for longer than anyone else?
Want to see which OS can hold out the longest?

The uptime project lets you compare computer ‘uptime’ with other people. The tiny client software ensures your uptime is always shown with accuracy!

Uptime was created with C, PHP, HTML, JavaScript and CSS.