ParkMeeCrazy for Sailfish OS Code
A 'Rush Hour'/'Traffic Jam' game clone
Status: Beta
Brought to you by:
katomu
Authors: ParkMeeCrazy! Copyright (c) 2011, Mures Andone <wmures@gmail.com> ParkMeeCrazy For Sailfish OS Copyright (c) 2013, Karsten Todtermuschke <katomu@web.de> PyTraffic Copyright (c) 2007, Michel Van den Bergh <michel.vandenbergh@uhasselt.be> Jesse Weinstein <jessw@netwood.net> License: ParkMeeCrazy For Sailfish OS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ParkMeeCrazy For Sailfish OS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ParkMeeCrazy For Sailfish OS. If not, see http://www.gnu.org/licenses/. Source Code available at: http://sourceforge.net/projects/parkmeecrazyforsailfishos/ or git clone git://git.code.sf.net/p/parkmeecrazyforsailfishos/code parkmeecrazyforsailfishos-code how to add new levels: generate them with gtlevel: ./gtlevel 5 15 > levels.txt if you have multiple cores: ncores=$(grep -c '^processor' /proc/cpuinfo); for i in `seq 1 $ncores`; do ./gtlevel 5 15 > levels_$i.txt & done; import them in the database: grep '^Card' levels*.txt|cut -d',' -f2-|sort -g|uniq|sed 's/ /", "/'|sed 's/^/insert into levels(minMoves, initialState) values("/'|sed 's/ $/");/'| sqlite3 ../parkmeecrazy/data/levels.db