some code

basic game mechanics