![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
|
Puzzle swapping minigame
I was so bored that I've made this stupid minigame. It's written as shell script, so don't expect it wil be fast as hell. (init takes 3 mins)
Spoiler:
Screen: Spoiler:
You can swap only adjacent blocks. Have fun! |
![]() |
![]() |
![]() |
#2 |
( ͡° ͜ʖ ͡°){ʇlnɐɟ ƃǝs}Týr
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,586
Karma: 6299991
Join Date: Jun 2012
Location: uti gratia usura (Yao ying da ying; Mo ying da yieng)
Device: PW-WIFI|K5-3G+WIFI| K4|K3-3G|DXG|K2| Rooted Nook Touch
|
Quality. Everyone in my house - by sheer coincidence - is terrible at these puzzles.
MUHAHHAHHAHA! I can definitely see this being installed and run while some is at the bathroom ![]() have to see about a c port of this. Great work mate |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Initiating...
|
![]() |
![]() |
![]() |
#4 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
|
Quote:
![]() I've firstly wanted to write this in C++, but I wasn't able to cross-compile hello world for KT on Ubuntu. I know about tcc for the Kindle, but I hate C (C-like languages are ugly without things like STL which speeds up development process a lot). |
|
![]() |
![]() |
![]() |
#5 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Yes, and I set 304x400
|
![]() |
![]() |
![]() |
#7 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
The wiki is slightly mistaken (will update it in a few minutes)
install using sudo apt-get install gcc-4.6-arm-linux-gnueabi And execute using arm-linux-gnueabi-gcc-4.6. (i.e arm-linux-gnueabi-gcc-4.6 hello.c -o hello) |
![]() |
![]() |
![]() |
#8 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
|
Thanks, but I didn't say I've failed at the "install build toolset" part. I was able to install build env. I was able to compile program which returns 0 (there were no headers included). I was not able to compile when I've included iostream and used it - there were some weird header errors which I've seen the first time. I have no cross-compiling experience, so I think it's only minor problem, but I haven't had time to investigate further.
|
![]() |
![]() |
![]() |
#9 |
Carpe diem, c'est la vie.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,433
Karma: 10773668
Join Date: Nov 2011
Location: Multiverse 6627A
Device: K1 to PW3
|
Nice to see something new coming out of my work on the eink algorithmic art scripting thread. Using "dd" as a blitter to draw on the framebuffer device is classic.
![]() Other people have contributed scripts to the "algorithmic art" thread too, and PoP even converted his "3D" script to a C program later. Doing this stuff in a script is more just for fun, to show that it CAN be done even with the most primitive of tools. That alone makes it really cool! Thanks for sharing. |
![]() |
![]() |
![]() |
#10 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
|
EDIT: Did you want to set 2x2 grid? You should run it with "./puzzle.sh 2 2" then.
Last edited by mmatej; 07-14-2012 at 08:27 AM. |
![]() |
![]() |
![]() |
#11 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 608
Karma: 1588610
Join Date: Jan 2012
Device: Kindle Scribe
|
Still loading, and hourly indian power cuts don't help. Get about 12 hour of power daily.
|
![]() |
![]() |
![]() |
#12 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 91
Karma: 14730
Join Date: Jun 2012
Device: none
|
Quote:
EDIT: Yes, it's pure masochism: Spoiler:
Last edited by mmatej; 07-14-2012 at 08:58 AM. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Greetings! Swapping Nook for Simple Touch | pdxreads | Introduce Yourself | 4 | 07-02-2011 02:50 PM |
Classic Swapping out the internal SD card | apastuszak | Barnes & Noble NOOK | 1 | 06-22-2011 04:10 PM |
Swapping title/author | The Big Kahuna | Calibre | 6 | 06-08-2011 10:58 PM |
Swapping memory cards | emonti8384 | Sony Reader | 9 | 07-04-2009 02:04 AM |
P-Book Swapping Sites? | Gatton | Lounge | 6 | 06-25-2007 12:10 AM |