First try to implement everything as best as you can. Once you get stuck somewhere at that point then post here for advice. Beyond that, I would say put everything into functions; modular code is...