This is a game I created in Unity
I made it with help from their tutorial program on their website. They also provided the models. I did all the coding for it though. It is a two player tank game that can be played on one keyboard.
Here is a picture of some code. This code controlled the firing mechanic on the tank
Use the wasd and arrow keys to move. Use the spacebar and enter to fire.