Free html games codes




















Tower building game. Place blocks by clicking, tapping or spacebarring. Use the arrow keys or WASD to control the snake. You can loop through walls.

The classic game, played against an AI opponent. Applies the minimax algorithm to pick its moves. Coded as a multi-threaded app using a web worker.

I have seen demos of pure CSS Tic-tac-toe games, but I was unable to find a version that truly works. If I have missed it, please send me link, so I can see how another dev has created it. Snakes and Ladders is an ancient Indian board game regarded today as a worldwide classic. It is based on the idea of using radio-buttons, and labels to activate the radios, making the pieces move only using CSS positioning. A slingshot game example created with the Matter.

In this course, you will learn how to create a Snake game, Breakout game, and Cupcake Catcher game in a step-by-step manner. I also took this course back in when I was completely unfamiliar with how games are actually created.

It really helped me gain practical knowledge of online game development. It is based on the tower defense game genre. In this game you have to place the towers in the specified places to prevent the incoming monsters from entering your homeland. You will be pleased to hear that the source code of this outstanding game is freely available for download from the Github repository.

It will be a great opportunity for you to understand the mechanics of online game development if you are familiar with the basics of HTML5 and JavaScript. Live Demo Download.

It has a really advanced UI design that comes with an attractive storyline. The game revolves around a wish list of the king which consists of several tasks. You have to fulfill his wishes in order to win the game. If you are familiar with these languages then I would suggest you to contribute in this stunning game and display your skills to the whole world. This game is licensed under the well-known MIT License.

This futuristic racing game has an unbelievable user interface that makes it look like we are playing an offline video game on a desktop computer. This open-source project is developed and maintained by Thibaut Despoulain with the help of some contributors. Mimstris is a cool online puzzle game that you will definitely enjoy playing in your free time.

In this game you have to quickly arrange the falling blocks of different shapes to fill the horizontal line similar to the video game Tetris. I bet you will fall in love with this game. Tower Building Game makes you feel joyful. It is similar to the award-winning Tower Bloxx Deluxe game where your task is to drop the blocks on top of each other and make your way towards the skies. Its structure is created using the new canvas element of HTML5 language while the logic is written in ES6 an outstanding update to the JavaScript language.

It is based on an adventure genre where your task is to explore the world. You will face several enemies on the way so stay calm and defeat them. You may even discover gifts that will help you stay strong and focus on achieving your goals.

If you are a great fan of fighting games then you will love to read its code and I hope you will be able to write something better in the future. As it has one of the most appealing user interfaces and provides an amazing user experience.

Note that its source code is available under MIT License. This game really stands out from the rest of the crowd as it showcases the ability of what WebGL can do in a web browser. It uses the Three. The developer does not believe in the licenses and allows you to use it however you like. The game works by you controlling a flying character and the mission is to successfully pass it from in-between the incoming walls without hitting them. Hextris is an awesome puzzle game that is according to its developer inspired by the famous game Tetris.

The game steadily increases its pace as it progresses which makes it very addictive. It comes with single-player and multiplayer modes. In single-player campaign mode the game has a scripted storyline where your task is to build the economy and defeat your enemies.

The game has a variety of buildings, aircraft, and vehicles which creates excitement in its users. The game evolves incrementally in 4 versions and you can even check its step by step progress through the Github repository. According to its developer the game is more suitable for modern web browsers. He also stated that the source code is not structured well as the game is only meant to demonstrate the basics of pseudo-3d racing game.

In Pacman-canvas you have to control a character using arrow keys on the keyboard and collect the items placed in a maze while protecting yourself from enemy units. You will be promoted to the next level after you have successfully picked up all the items.

Canvas Tetris is a really simple illustration of the Tetris game which is written in HTML5 and JavaScript to give beginner developers a basic understanding of 2D game concepts. The developer has mentioned that he created this game in just 45 minutes. This game features a wide variety of creatures that a player can acquire as they play along and then players can put them to use in order to defeat your opponents.

The version of this game available now is 0. The game lets you place defending units in order to defeat the enemy boss of each level while defending your portals. Flexbox Froggy is the game developed. This game allows you to enter CSS styles in order to move the frog and reach the bottom where the pond is situated. Grid garden is the game similar to Flexbox Froggy and published by the same developer.

The developer makes use of animate. Quantum Game is a simple and creative browser-based puzzle game that makes use of terminologies from quantum mechanics in the game. The game contains photon sources to emit photon particles, rocks that act as an obstacle, mirror to deflect the photon particle, and photon detector which receives the photon particle. The trick is to arrange the mirror in such a way that the photon particle emitted from the photon source should reach the photon detector evading the rocks.

It is a shooting game where players need to shoot at relentless enemies and destroy them before the enemy ships destroy you. This game basically contains 4 colored blocks that light up in specific order. After the blocks light up, players have to click the blocks in the same order as they light up in order to gain a point.

The developer makes use of the React-redux project with some CSS styled-components in order to develop this simple game. This game provides users with arrow buttons to move the number blocks. The players have to move the number blocks in such a way that it combines and adds up to other blocks in order to reach the score. This game is actually a remake of space invader phaser game.

The developer makes use of Require. This game is a hybrid combination of Mastermind and Android lock game making use of android pattern locks as a game component. You need to connect the dots in order to match the lock pattern and win.

This game makes use of Webpack and progressive web app solutions in order to provide a beautiful and mind-boggling game. Finally we added a score counter and a timer. And viola, their first canvas game! Another game was needed to reinforce the concepts from Collect the Square. You move one square up and down with the keyboard, firing bullets at enemies that come in from the side of the screen. Though very similar to the first game, the shooter has more actors to position, animate, and collide at a time.

My demo below takes it a step further, using loops to deal with potentially more than one enemy at a time. After several days working with the Canvas directly, we closed out the week by looking at Phaser for creating more advanced games.

Their tutorial goes through the basics of drawing sprites, handling user input, and implementing physics. Maybe next summer! I implemented a quick two-player version of the game, which you can play below:. It allows 2 players on single computer as well as playing over the network requires installing a server.

Play mk. Oct 28, The original game source code is unavailable, hence we have linked to its fork. Play 0hh1 0hh1 Source Code. Javascript Pseudo 3D Racer. He has written a tutorial about how he built this racing game. Guess from over 70 web related words! No images. Free Html Game Code.



0コメント

  • 1000 / 1000