Gridots Board Game

I’ve developed logical board game for Android platform called Gridots. Place your units on board and capture opponent’s units. The player with more units on board won.

When player puts the unit inside an area which is encircled. In this case the whole group of her/his units which became encircled is removed and the underlying grid is removed as well (hole is created). Placing units into encircled areas may also be a beneficial from strategy point of view. Because even the player on turn loses units the move may cause a capture of opponent units (they become encircled too). The evaluation algorithm first evaluate current player’s loses and then opponent’s.

in_play_13x13_150920

Posted in Programming | Tagged , | Comments Off on Gridots Board Game

Basic Spring, Errai JAX-RS integration test

I created a basic Spring, Errai JAX-RS integration test based on Errai JAX-RS demo. The project called spring-errai-jaxrs can be found on my github site. The original Errai JAX-RS demo sources can be found on errai github site (see errai-jaxrs/demos/jaxrs-demo).

Posted in Programming | Tagged , | Comments Off on Basic Spring, Errai JAX-RS integration test

The ext2 as root file-system and Linux-like boot adoption

The Nucleos kernel has adopted the Linux boot procedure and was able to use the ext2 as its root file-system. The implementation is quite unstable so far but functional and ready for debuging. It’s available in nucleos-boot branch on github. The achieved goals offer a lot of advantages over the old boot and minix3 root filesystem. First that it significantly simplyfies the boot code as it doesn’t read or write from hard-disk. This job is left on external bootload e.g. GRUB which loads the kernel image into memory. The bootloader also pass the command-line and set some fields in kernel image header. Once the bootloader has done its job it jumps to kernel entry point a 16-bit setup code. This code unpacks the 32-bit kernel and then jumps to 32-bit entry code. The second advantage is that having ext2 as root file-system simplyfies the whole system setup and kernel installation. For installation you don’t need anything more than just mount disk image by a standard mount command and copy the kernel into /boot directory. Also creating a complete system from scratch is very easy now and no special hacks are needed.
However as it was mentioned the implementation is quite unstable so far and must be debuged. Thus it can’t be merged with the master branch. I believe I will do so in a few weeks.

Posted in Operating system | Tagged , , | Comments Off on The ext2 as root file-system and Linux-like boot adoption