# How To Code A Game - Beginner's Guide
# How To Code A Game - Beginner's Guide
Examples:
* Tic-Tac-Toe
* Snake Game
| Cross-platform | C# | Unity |
---
Start with printing text and responding to user input. Then move into
graphics.
Example in Python (a simple game window):
```python
import pygame
pygame.init()
run = True
while run:
pygame.time.delay(100)
if event.type == pygame.QUIT:
run = False
pygame.quit()
```
1. Player Movement
5. Collision Detection
6. Scoring System
8. Winning/Losing Conditions