Experimenting with writing simple games using machines