Hundiyas – Battleship game in JavaScript (June 2007)

“Hundiyas” is an open source Battleship (aka Battleships or Sea Battle) game totally written in DHTML (HTML, CSS and JavaScript). Highly configurable.

Screenshot

It is my eighth DHTML game and was made in mid 2007.

Players can configure the game with many options. For instance, you can change board size, decide whether to allow bombing same cell more than once or not, whether to allow to place two ships next to each other without any space between them or not, whether to mark already bombed cells or not, decide who will start playing first and choose among three difficulty levels (easy, normal and hard) that will change the AI (Artificial Intelligence) of the game.

You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script. To change the game images you just need to replace them with others.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet, including one Opera widget.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, BlackBerry Tablet OS, Android, iOS and others.

Play online in English: http://hundiyas.tuxfamily.org/hundiyas_english/

Play online in English (mirror): http://www.dhtmlgames.com/hundiyas/hundiyas_english/

Play online in Spanish: http://hundiyas.tuxfamily.org/hundiyas_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/hundiyas/hundiyas_spanish/

Official web site: http://hundiyas.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/hundiyas/).

It can also be found on GitHub: https://github.com/jalbam/hundiyas

Some C games (2006 to 2007)

Here are some games in C language I made during the time I was studying the “Programació estructurada i modular / Programación estructurada y modular” (Structured and modular programming) subject that belonged to “CFGS DAI (Ciclo Formativo de Grado Superior en Desarrollo de Aplicaciones Informáticas)” which is a Software development associate degree equivalent (similar to Foundation degree in the UK, Diploma of Higher Education in Scotland or Higher Certificate in the Republic of Ireland) at IES Baix Camp school in Reus city (Spain).

Screenshot

All are text-based games. It includes a Blackjack (aka Twenty-one) card game, a roulette game (with four different ways to play), a John Conway’s Game of Life (cells can be inserted either manually or randomly), a Mastermind game, Buscacaminas (pathfinding program with some Minesweeper characteristics), Pongetet (a pong game) and Pilotes (just a bouncing text generator). The IDE used was Bloodshed Dev-C++.

They can be found on GitHub: https://github.com/jalbam/c_games

La villa del seis – horror adventure game in PHP and DHTML (September 2006)

“La villa del seis” (aka “La villa del 6”) is an open source adventure game written in PHP, HTML, CSS and JavaScript.

Screenshot

This game was made in late 2006 and uses the engine of Yasmina’s Quest that I made before, modified and improved. It was made together with Yasminan Llaveria del Castillo and some of the photos used were taken by Esteban Villegas Gallego.

Official languages are Spanish and Catalan.

It has become quite famous on the Internet, with thousands and thousands of downloads and online players. It was even mentioned in at least one well-known Spanish magazine called “Año/Cero” in an article titled “La ruta de los pueblos condenados” written by José Manuel Serrano Cueto and published in January 2007 (on paper as well as on-line).

Since this has the Yasmina’s Quest engine but improved, some people has chosen the code of this game to create their adventure instead of using the Yasmina’s Quest code. As well as Yasmina’s Quest, the game can be played either as a point-and-click adventure or as a text adventure and it can run in any kind of web browser. JavaScript and CSS are useful but not really necessary. Images are not necessary either, allowing the game to be played in a text-based web browser as Lynx or Links.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, QNX, BlackBerry Tablet OS, Android, iOS and others. In its homepage you can see some screenshots with the game running on many different platforms such as Nintendo DS, Sony PSP, Sega Dreamcast and Pocket PC.

Recently (27 September 2018), a new package using php-webkit was added so it can be played offline on Windows XP with SP2 (Service Pack 2) and newer (including Windows 10). Just download the la_villa_del_seis_php-webkit_win32.zip or the la_villa_del_seis_php-webkit_win32.7z file. The la_villa_del_seis_php-webkit_win32_installer.exe file also provides an installer for the same package. Porting the same package to other operating systems and platforms should not be too difficult. For some older Windows versions (older than Windows XP with SP2), the la_villa_del_seis_on_server2go.zip file (la_vila_del_sis_on_server2go.zip file in Catalan) provides an older package which uses Server2Go.

Play online in Spanish: http://lavilladel6.tuxfamily.org/lavilladel6_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/lavilladel6/lavilladel6_spanish/

Play online in Catalan: http://lavilladel6.tuxfamily.org/lavilladel6_catalan/

Play online in Catalan (mirror): http://www.dhtmlgames.com/lavilladel6/lavilladel6_catalan/

Official web site: http://lavilladel6.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/lavilladel6/).

It can also be found on GitHub: https://github.com/jalbam/lavilladel6

Conectayas – Connect four, Tic-tac-toe and similar connection games in JavaScript (September 2006)

“Conectayas” is an open source Tic-tac-toe, Connect four (aka Four in a row) and similar style games (highly configurable) totally written in DHTML (HTML, CSS and JavaScript).

Screenshot

It is my seventh DHTML game and was made in late 2006.

In fact, this game is not only a game but many since the player can configure it to play Tic-tac-toe, Connect-4 and other similar games. You can configure the number of human players (1 or 2 players), who will start playing first (first player or second player which can be either the computer or a human), board size, the necessary pieces in a line to win, the colour of the pieces and choose whether to use gravity or not (with gravity the pieces will fall down as in Connect-four).

You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script. To change the backgrounnd image you just need to replace it with another one.

This game only uses one image for the background which is not necessary to make it work, so all the rest you can see has been made using just pure HTML and CSS.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet, including one Opera widget and even a Drupal module found at https://www.drupal.org/project/connectiv.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, BlackBerry Tablet OS, Android, iOS and others.

Play online in English: http://conectayas.tuxfamily.org/conectayas_english/

Play online in English (mirror): http://www.dhtmlgames.com/conectayas/conectayas_english/

Play online in Spanish: http://conectayas.tuxfamily.org/conectayas_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/conectayas/conectayas_spanish/

Official web site: http://conectayas.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/conectayas/).

The repository can be found on GitHub: https://github.com/jalbam/conectayas

Buscayasminas – Minesweeper game in JavaScript (August 2006)

“Buscayasminas” is an open source Minesweeper game (configurable) totally written in DHTML (HTML, CSS and JavaScript).

Screenshot

It is my sixth DHTML game and was made in mid 2006.

Players can configure the game with some options. You can change the number of mines, board size and set a time limit (in seconds) or disable it.

You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script. To change the game images you just need to replace them with others.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet, including one Opera widget.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, BlackBerry Tablet OS, Android, iOS and others.

Play online in English: http://buscayasminas.tuxfamily.org/buscayasminas_english/

Play online in English (mirror): http://www.dhtmlgames.com/buscayasminas/buscayasminas_english/

Play online in Spanish: http://buscayasminas.tuxfamily.org/buscayasminas_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/buscayasminas/buscayasminas_spanish/

Official web site: http://buscayasminas.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/buscayasminas/).

The repository can be found on GitHub: https://github.com/jalbam/buscayasminas

Yasminoku – Sudoku game, generator and solver in JavaScript (July 2006)

“Yasminoku” is an open source Sudoku (game, generator and solver) totally written in DHTML (HTML, CSS and JavaScript).

Screenshot

It is my fifth DHTML game and was made in mid 2006.

The game will generate sudokus and the player will have to solve them. It is not only a normal sudoku game but also a sudoku solver, allowing users to introduce their own sudoku in order to solve it.

You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script.

This game doesn’t use any image at all, just pure HTML and CSS.

The game has been quite successful and famous, included for instance in a famous Spanish online newspaper called “Libertad Digital“.

Official languages are Spanish and English. You can find a lot of translations in other languages over the Internet, including German, French, Portuguese, Czech, Hungarian and Chinese.

Other modified and adapted versions of this game can be found on the Internet, including one Opera widget and several translations.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, BlackBerry Tablet OS, Android, iOS and others.

UPDATE (9th December 2014):

The new improved version (0.75a) comes with some bug fixes, using some CSS3 effects and HTML5, a better mobile devices support, autosave (using Web Storage and falling back to cookies if not supported), it is printer-friendly, it adapts automatically to any screen resolution (200 x 180 is the minimum), improves browser integration (can be included easily in any web site with an IFRAME, for example), is available for and ported to many platforms and can be ported to many more (it is compatible with Apache Cordova, PhoneGap Build, PhoneGap, Intel XDK, BlackBerry WebWorks, virtually any browser extension guidelines and so on), and is now multilingual with language auto-detection (main version includes Chinese, English, Catalan and Spanish languages and it is very easy to add new ones).

It can be controlled by mouse (or finger on mobile devices) and/or keyboard (gamepads on some devices as Wii or some remote control on some TV devices should also work).

Through the new configuration menu, you can choose language (in the case you are not happy with the auto-detected one), disable autosave, change the way the game helps you, set the number of seconds the on-the-fly calculated solution is displayed and disable some visual effects (in order to improve performance).

The game is specially designed to allow to be used inside any other web site (by using an IFRAME, for example). We just need to get the URL (which will be used in the SRC parameter of the IFRAME tag) generated by the “Share” option (inside the configuration menu). If we want to configure it even more, we can set or edit some parameters included in the generated URL (you can read more about it in the game’s website). You could even use another sudoku generator and send the generated sudoku to the game through a parameter of its URL.

Since you can choose the initial numbers, from 0 to 81, keep in mind that sometimes the game can generate sudokus with more than one solution.

Native ports that have been tested should work properly. Browser version will work virtually everywhere, in modern browsers as well as in old ones (including Internet Explorer 5.0).

Apart from the normal version (for web browsers), some ports and versions include Android (including Nokia X and Fire OS which is used by Amazon Kindle Fire, Amazon Fire TV, Amazon Fire TV, Fire Phone, etc.), iOS (iPhone, iPod Touch, iPad), BlackBerry 10, BlackBerry Tablet OS (BlackBerry PlayBook), Nokia Series 40 (S40) / WRT Widget, Nokia Asha widget / W3C Packaged Web App (W3C Widget), Windows Phone 7 & 8, Chrome OS / Chromium OS (Google Chrome App), Firefox OS (Mozilla Firefox App), Mozilla Firefox Add-on, Opera Extension (Opera add-on), Google Chrome extension, Safari extension, Microsoft Edge extension, WebOS, Facebook App, Windows 32 bit (including installer), Apple Mac OS X (Intel), Linux x86 (32 bit and 64 bit), Raspberry Pi and compatible (Linux as Raspbian or Pidora), etc.

To read more about how to use it in your web site, port it to other platforms, translate it to other languages, etc. please, refer to its official site below.

Play online in multiple languages: http://yasminoku.tuxfamily.org/new/online/

Play online in multiple languages (mirror): http://www.dhtmlgames.com/yasminoku/new/online/

Official web site: http://yasminoku.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/yasminoku/).

The repository can be found on GitHub: https://github.com/jalbam/yasminoku

Yasminuroban – Sokoban game in JavaScript (March 2006)

“Yasminuroban” is an open source Sokoban (aka Warehouse keeper) version totally written in DHTML (HTML, CSS and JavaScript). With level editor.

Screenshot

It is my fourth DHTML game and was made in early 2006.

The game includes a level editor and, as far as I know, it is the first level editor ever made using JavaScript. It allows you to modify the current level or create a new one to play it after you press the “Play map” option. You can also copy the generated JavaScript code which can be used to modify the game code by yourself, for example.

You can also change the game behaviour or add new levels easily by editing many of the configuration variables which are at the beginning of the script. To change the game images you just need to replace them with others.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet (with configurable skins or themes and with many sets of levels that the player can choose), including one Opera widget.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X and others.

Play online in English: http://yasminuroban.tuxfamily.org/yasminuroban_english/

Play online in English (mirror): http://www.dhtmlgames.com/yasminuroban/yasminuroban_english/

Play online in Spanish: http://yasminuroban.tuxfamily.org/yasminuroban_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/yasminuroban/yasminuroban_spanish/

Official web site: http://yasminuroban.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/yasminuroban/).

The repository can be found on GitHub: https://github.com/jalbam/yasminuroban

Tetríssimus – Tetris game in JavaScript (March 2006)

“Tetríssimus” is an open source Tetris clone totally written in DHTML (HTML, CSS and JavaScript).

Screenshot

It is my third DHTML game and was made in early 2006.

Editing the game code in order to add new pieces with different shapes or change the current ones or even delete them is very easy. You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script. To change the background image you just need to replace it with another one.

This game only uses one image for the background which is not necessary to make it work, so all the rest you can see has been made using just pure HTML and CSS.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet, including one Opera widget and even a Drupal module found at https://www.drupal.org/project/tetris.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X and others.

Play online in English: http://tetrissimus.tuxfamily.org/tetrissimus_english/

Play online in English (mirror): http://www.dhtmlgames.com/tetrissimus/tetrissimus_english/

Play online in Spanish: http://tetrissimus.tuxfamily.org/tetrissimus_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/tetrissimus/tetrissimus_spanish/

Official web site: http://tetrissimus.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/tetrissimus/).

The repository can be found on GitHub: https://github.com/jalbam/tetrissimus

PunkPong – Pong game in JavaScript (February 2006)

“PunkPong” is an open source Pong clone totally written in DHTML (HTML, CSS and JavaScript).

Screenshot

It is my second DHTML game and was made in early 2006.

It allows you to use either mouse or keyboard to control your paddle.

Despite the fact that it is very easy in the beginning, the difficulty increases slowly every level and the computer will be much harder to beat.

You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script.

This game doesn’t use any image at all, just pure HTML and CSS.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet, including one Opera widget and even a Drupal module found at https://www.drupal.org/project/pong.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, BlackBerry Tablet OS, Android, iOS and others.

Play online in English: http://punkpong.tuxfamily.org/punkpong_english/

Play online in English (mirror): http://www.dhtmlgames.com/punkpong/punkpong_english/

Play online in Spanish: http://punkpong.tuxfamily.org/punkpong_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/punkpong/punkpong_spanish/

Official web site: http://punkpong.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/punkpong/).

The repository can be found on GitHub: https://github.com/jalbam/punkpong

La Ranísima – Space Invaders alike game in JavaScript (February 2006)

“La Ranísima” is an open source game that was written totally in DHTML (HTML, CSS and JavaScript) and was inspired by the Space invaders classic although uses infantile graphics that will be loved by the youngest children.

Screenshot

It is my first DHTML game and it was made in early 2006 based on DOM manipulation, when almost nobody knew about the power of JavaScript for game development and all the technologies involved related with that were unknown by the vast majority of developers who preferred to develop games using Flash or even Java.

You can also change the game behaviour easily by editing many of the configuration variables which are at the beginning of the script. To change the game images you just need to replace them with others.

Official languages are Spanish and English.

You can find other modified and adapted versions of this game on the Internet, including one Opera widget.

This game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X and others.

Play online in English: http://ranisima.tuxfamily.org/ranisima_english/

Play online in English (mirror): http://www.dhtmlgames.com/ranisima/ranisima_english/

Play online in Spanish: http://ranisima.tuxfamily.org/ranisima_spanish/

Play online in Spanish (mirror): http://www.dhtmlgames.com/ranisima/ranisima_spanish/

Official web site: http://ranisima.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/ranisima/).

It can also be found on GitHub: https://github.com/jalbam/ranisima

La carta más alta – card game in PHP and HTML (December 2005)

“La carta más alta” is an open source card game made with PHP, HTML and a little bit of CSS. It was created on 19th December 2005 (approximately).

Screenshot

It is in Spanish language and will work in any web browser, even without CSS support.

The game is minimalist and it doesn’t use any image at all but only text created with pure HTML and tables. So you will be able to play it in a text-based browser too, such as Links and Lynx.

This cross-platform and cross-browser game has been tested under BeOS, Linux, NetBSD, OpenBSD, FreeBSD, Windows, Mac OS X, QNX, BlackBerry Tablet OS, Android, iOS and others.

Play online: http://lcma.tuxfamily.org/lcma_spanish/

Play online (mirror): http://www.dhtmlgames.com/lcma/lcma_spanish/

Official web site: http://lcma.tuxfamily.org/ (mirror at http://www.dhtmlgames.com/lcma/).

It can also be found on GitHub: https://github.com/jalbam/lcma