Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Java driver for TuxDroid
Branch: master
Pull request Compare This branch is even with Cicatrice:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

TuxDroid Java API

Quick sample

This sample is a light game where you have to guess the result of a simple multiplication between two numbers from 1 to 10.


  • Downlad JNA library
  • Copy to /usr/lib/ (for example...)


  • Go to your repo path (in my case, jna.jar is in there)
  • javac -cp .:jna.jar com/tuxisalive/direct/


  • Plug TuxDroid's fish
  • java -cp .:jna.jar MultiplicationGameTuxDroidSample

Play !

  • solve the problem proposed on console
  • press on left wing to increment units
  • press on right wing to increment tens
  • press on head button to validate your answer
  • if it is the good one, start again :D
  • press ^D (Control-D) to exit from console ; ^C is not the better choice...
Something went wrong with that request. Please try again.