måndag 4 november 2013

FIASPEL

Implemented a multiplayer version of the classic board game Ludo/Mensch ärgere dich nicht/Fia. This was an exercise in network programming with the server-side done in the Python programming language and the client-side in the Java programming language. The socket module was used to access the BSD socket interface through Python and the java.net package was utilized for implementing the networking on the Java-side. One intriguing part was designing a clean and  crisp protocol/API between the server and client to effectively support the game. API-design is hard!

The Android game-client support multiplay for 4 players, ingame chat, sound effects, animations, landscape/portrait mode and "syncing".

måndag 14 oktober 2013

Context Situation Estimator (CSE)

My thesis project at Mid Sweden University with the title --Estimating Context – using mobile device sensors-- was about context estimation and context awareness which included the task to build a context situation estimator for Android.




tisdag 3 september 2013

Life

Took a 2 day detour from finalizing my thesis and made a Live Wallpaper for Android.

The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway in 1970. This is a classic and straightforward implementation where the initial pattern is determined by randomness and the game evolves accordingly to the standard rules.

The interface is very simple, nothing to setup or configure.
Tapping the screen will start a new simulation run and set the color for the cells.
Cells will glow brighter as it survives and aging.

Requires Android 2.1 or above.

Get it on Google Play

måndag 3 juni 2013

Keeper of the Books

Keeper of the Books is an app I wrote to keep track of my book collection. Utilizing open APIs from LIBRIS, Google Books.

Keepers of the Books enable you to easily and quickly keep track or your book collection.

Features:
• Search and add books by scanning the barcode
• See statistics such as estimated purchase cost and other things
• Available in following languages: English, Swedish


Requires Android 4.0 or above.

Get it on Google Play







söndag 10 mars 2013

Curriculum Vitae

Curriculum Vitae is a simple app that lets you create, edit and share your resumé. Search an online resumé repository and view others who also shared their resumé. Built with PhoneGap, jQuery Mobile and standard web technologies.






måndag 18 februari 2013

Knight's Tour

Made an app for solving the Knight's tour problem [1] for various board sizes (n =m<=24). A knight's tour is a sequence of moves by a knight on a chessboard such that each square on the board is visited once and only once a.k.a a Hamiltonian path. A method for finding such paths is using a heuristic deviced by H. Warnsdorff called Warnsdorff's Rule. Using the heuristic we can solve the problem in linear time but sometimes it fails to produce a complete path due to the undeterministic nature of the heuristic.

There are several ways we can improve the success rate of Warnsdorff's Rule:

  • Second-level tiebreaking by Ira Pohl [2]. "For each tie move, sum the number of moves available to it at the next level and pick the one yielding a minimum."
  • Move-orderings by Squirell and Cull [3]. Use predefined lists of move-orderings to break ties. You can find move-orderings in the their paper that will give you a complete tour on every board with 10 <= n, m < 300.



















tisdag 15 januari 2013

Zcalendar

Did some calendar thingy with HTML5, PHP, JavaScript, jQuery Mobile and databases  as a course project.