Random Number GeneratorRandomly generate an obstacle and the type of the obstacle.
VGA Port A driver to display the data.
CurrentColumn
Distance Meter(Score Board)to record the high score and current score.
data_out
CurrentRow
Pulse toGenerateObstacles
Clockto produce the clock for each module
Positions
Calculate the data to display according the state of the game and the T-Rex and the positions of the objects.
Control
High score
PS2 Keyboard to control the game.
States
Current Score
A module to control the position of allthe objects in the game.