/making-online-games

Tutorials, guides and examples for making online games.

Primary LanguageElm

Making Online Games

Games

Following is a list of open-source games. The main criterion for inclusion in this list is a simple setup for development. Each game entry links to an online editor to make and test changes to the program code.

Simple Snake

Simple Snake Game Screenshot

A simple implementation of the classic snake game. You can control the snake using arrow keys and WASD keys.

Sunny Land — A WebGL Playground platformer

Sunny Land Game Screenshot

Game Template

Game Template Screenshot

This project is a template for video games. It comes with a framework for rendering to HTML (web browsers) and processing inputs from the keyboard or the mouse. You can use this as a starting point for games like Tic-Tac-Toe, Snake, Tetris, Breakout, or platformers like Super Mario.

Tech Demos

Play Audio File

Playing an audio file from the Elm update function without using ports:

WebGL Rotating Cube

This demo uses WebGL functions to render a rotating cube.

elm-3d-playground-exploration