A rogue-like game in C, First year project