If u don't like to read you can watch the video here
My old VGA monitor was collecting dust for a long long time and I finally found a good use for it. Being inspired by retro gaming consoles I thought "why not run a game on Arduino with VGA video output !!". So I looked up a bunch of supported resolutions on http://tinyvga.com/vga-timing and found that the math for 640x480 @60Hz mode would workout easily with the Arduino.
I have used the integrated Timer1 of atmega328p for Vsync and Timer2 for Hsync signals.
I used jumper wires for all the connections.
thats it...now just upload the code and enjoyyy!!!!!! fun fact: no library was used.