initial version of atomgame.c