Skip to content

Latest commit

 

History

History
executable file
·
161 lines (117 loc) · 6.42 KB

README.md

File metadata and controls

executable file
·
161 lines (117 loc) · 6.42 KB

Blokish

blokish

Blokish

Open-source Android implementation of the popular board game Blokus. With very smooth Drag & Drop user interface.

Get it on F-Droid

The rules

Blokus is family game involving four players and a board with 20 x 20 squares. Like chess or checkers, it's a game for which at any time you can see your opponent's pieces.

Each player starts with 21 pieces : 1 monomino, 1 domono, 2 triominos, 5 tetraminos and 12 pentaminos. It may recall you the Tetris polyominos...

"For first round, I must place a piece so that it touches one of the corners of the board"

"Next, a piece must be placed so that it touches a corner of one of my own pieces. It may touch several corners, but never any side/edge of my pieces!" Look at screenshots.

The game has a nice and natural User Interface : just Drag & Drop the piece with the finger. Rotate a piece likewise. And return a piece with a long press.

"If a cannot place any more piece I pass my turn."

The end of the game is reached when every player passes. "My score is : addition of the squares of the pieces I placed".

Refer to 'Menu > Help' inside the app. With several screenshots.

You can safely quit at any time : your current game will be restored on next startup.

Last piece played is displayed both enlarged and with higher contrast.

You play against the machine. You can configure the level of corresponding Artificial Intelligence : 4 levels. Refer to Menu > Preferences

You can disable AI for a human play only. Refer to Menu > Preferences.

Once installed, you can play off-line.

Menu

There is a drawer menu. Drag it from left side. With menu items :

  • settings
  • undo
  • new game

GPL v3 Licence

The game is free. And even more : the code is open-source. You can access it at http://github.com/scoutant. You can reuse and adapt it according to GPL v3 license.

You may post issues at http://github.com/scoutant/blokish/issues

Stephane Coutant, http://scoutant.org


Changelog

v3.6, 2024/10 : Android 15

  • targetting Android 15
  • built with Android 15 sdk and Gradle 8.10
  • update by RobbieNesmith as part of Hacktoberfest

v3.5, 2022/11 : Android 12.1

  • targetting Android 12.1
  • built with Android 13 sdk and Gradle 7.5
  • from nom on : available on Android 9+

v3.4, 2020/04 : Android 10 and AndroidX Jetpack libraries refactoring

  • build with Android 10, from nom on : available on Android 7+
  • refactored Manifest and source dir
  • Github-CI build with tests

v3.3, 2018/06 : locale nl, Android 8.1

  • locale nl, credits to Vistaus
  • now targetting Android 8.1

v3.2, 2018/01 : Added locale pt-rBR, thanks @afmachado

v3.1, 2017/05 : menu now with drawer, removed multi-player network support with PlayHub

  • build with Sdk Android 7.0
  • refactored menu : now using drawer
  • removed PlayHub dependency
  • better german translation

v3.0, 2015/11 : Network multi-player support with PlayHub

  • Network multi-player framework PlayHub.
  • build with Sdk Android 6.0

v2.4, 2015/06 : Move validation possible directly on piece.

  • Smarter move validation : vibration and green color as soon move is valid
  • Validation by double tap on piece
  • sdk Android 5.1

v2.3, 2015/03 : Russian translation

  • added Russian translation, credits to Boris Timofeev.
  • sdk Android 5.0

v2.2, 2014/10 : Added button to open menu for phone without menu button

  • build with Gradle v2
  • sdk Android 4.1

v2.0, 2012/09 : German locale

  • added German locale, credits to Sascha Hlusiak
  • fix translation for screen "Level", in locales en, fr, es, sv

v1.9, 2012/07 : Drag and Long-press, tablets

  • fixed minor drag inconsistency
  • fixed minor long-press inconsistency on tablets. Used to flip a piece. Can still be done using the menu.
  • fixed bottom layout : on tablets the score was little bit off its control.
  • fixed code warnings revealed by ADT v20.

v1.8, 2012/04 : Animations

  • added a drop animation when a piece is moved, for user to better experience the lasts moves
  • removed dependency to heyzap, the social feature that did not meet great interest
  • added link to YouTube demo help page. http://www.youtube.com/watch?v=3Q7ow07uaMw

v1.7, 2012/03 : Swedish locale

  • migrated to Android 2.2
  • added social feature, powered by Heyzap : you may checkin and if you win game you may post your score...
  • added local SV_SE

v1.6, 2011/12 : Locales fr and es

  • Added locales FR, ES
  • Fixed endgame issue #3 : #3
  • minor layout refactoring with density-independent pixels

v1.5, 2011/10 : UI feedbacks

  • Added wheel animation to illustrated AI in progress
  • Last piece for each player is displayed both enlarged and with higher contrasts
  • vibration feedback whenever AI plays a move Thanks to those feedbacks, AI thinking duration is set to be longer, resulting in a global higher level.

v1.4, 2011/08 : AI with multi-turn processing

  • Advanced AI with multi-turn processing better mimicking human strategy.
  • Drag & Drop fix for large screens and new app icon.

v1.3, 2011/06

  • Added feature : save game on exit and load it on next start. Splashscreen vanish more quickly when game loaded.
  • Added preference 'Exit popup'. Enabling/disable the popup confirmation when exiting. With those 2 features, you can have a one click close and a quick reload. Suitable in busy situations.
  • Minor bug fix : menu option 'back one move' now ok even for fresh new game.

v1.2, 2011/06

  • Added capability to flip a piece to it's mirror position using the menu. As before, can also be done with a long-press gesture directly onto the piece. The menu alternative may be useful for large devices like tablets where long-press may conflict with DnD gesture...

v1.1, 2011/05

  • Added capability to disconnect AI, for human play only. AI can be enabled/disabled at any time during the game.
  • Added haptic feedback when dropping piece that is valid
  • Gracefully adapting AI level to CPU capabilities.
  • Refactored AI with initial seeds sort before looping around the best seeds.

v1.0, 2011/05

  • Added additional AI level
  • Fix for small screens : gracefully adapting the bottom pieces stores to be single-line
  • Fix bug : I2 and I4 moves happened not to be displayed as valid at the very border (according to orientation).

v0.5, 2011/05

First release