Wiki

Clone wiki

TuxCoding / Home

Welcome

Welcome to TuxCoding Wiki page, I hope you will find here all the information you need.

You can play the Flash version of the game here

Project Description

The game is roughly based on Lighbot The game teaches players how to program by using a fixed set of visual commands (icons) that must be ordered in a "program" to control Tux. The player can use functions, recursions, conditions and loops to write the program. The challenge of the game comes from the limited set of available commands and limited number of commands in the program.

The game is coded using Haxe + OpenFL, it's an open technology that supports multiple platforms (Desktop and mobile).

Build Instructions

First thing you need to have Haxe, OpenFL and HaxeFlixel installed on your machine. Todo so, HaxeFlixel Getting Started Guide has all the information you need to get everything up and running.

After that you need to get a copy of Tuxcoding source code. You can find it Here. You can either download a copy of the source or use git to clone the repository, just look at the right panel.

To build the game, use your terminal (or command window) and go to tuxcoding directory, type the following "openfl test flash" to build and run the game on the Flash target. You can of course change flash to any other target supported by openfl (android, iphone, html5, windows, mac).

TODO List

  • Double click a Command icon to add it at the end of the current Program
  • Be able to insert a command between to commands in the program
  • Removing a command from the program doesn't leave and empty slot
  • Command Repeat X: repeats the command just after it X number of times
  • Turn command should take less time than the other commands.
  • Some levels can have small functions ready to use, the goal is to use those functions to solve the level.
  • Display a grid over the level to make it easier to count the number of movement the player needs to make.
  • Use tabs to display Main program/Function 1/Function 2/..., this will leave more room for the program (especially on mobile).
  • use tweens when displaying the menus.
  • Improve the Jump movement to make it look like a platformer jump.
  • Add Instructions/Help giving players some of the basics of the game.
  • When running a program display which command is being executed.
  • Don't count function calls when counting the number of commands in the solution.
  • Some levels have less slots available in the main program/functions.
  • Improve the graphics of the game (where is Tux ?).
  • Add sounds and music to the game.

Updated