Javascript Mini-games

These are some small game prototypes, demos and tools, written to practice pure Javascript and learn to render graphics using HTML canvas element and WebGL.

Since they are quick'n dirty projects, they are not particularly good examples of best programming practices, but some can be quite fun with a little tweaking and I might decide to refactor them into more structured projects

Game Prototypes

tic

Tic Tac Toe

pong_ai

Pong ai

snake

Snake

platformer

Platformer

minesweeper

Minesweeper

space_shooter

Space shooter

paratroopers

Paratroopers

Tools

key_code

Keycode

color_gradient

Color gradient

2D Canvas Demos

bouncing_balls

Bouncing balls

bouncing_particles

Bouncing particles

easing_demo

Easing demo

fireworks

Fireworks

starfield

Starfield

flying_squares

Flying squares

mystify

Mystify

random_rects

Random rects

starwars_opening

Star Wars opening

texture_rotation

Texture rotation 1

texture_rotation_perspective

Texture rotation 2

WebGL Demos

webgl_colored_cube

Colored cube

webgl_light_model_1

Light model 1

webgl_light_model_2

Light model 2

webgl_test

WegGL Test

webgl_textured_cube_1

Textured cube 1

webgl_textured_cube_2

Textured cube 2

webgl_textured_cube_mix

Textured cube mix

webgl_textured_model

Textured model

webgl_triangles

Triangles