Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > The real world > Idle chatter

Reply
 
Thread Tools Display Modes
Old May 22, 2017, 08:16   #1
PopTart
Rookie
 
Join Date: May 2017
Posts: 10
PopTart is on a distinguished road
Lightbulb Roguelikes on a franklin dictionary?

Has anyone managed to port or write a roguelike into a simple handheld device with a qwerty keyboard, such as a Franklin dictionary? Some of them have a d-pad and like a 6x40 character display. I'd love to learn how to do it. I can program only in very high level scripts like BASIC and Lua. I'll probably end up connecting a simple character display onto a Raspberry Pi and going from there.
PopTart is offline   Reply With Quote
Old May 22, 2017, 09:44   #2
Gwarl
Swordsman
 
Join Date: Jan 2017
Posts: 420
Gwarl is on a distinguished road
No work to do at all with the raspberry pi. Raspbian is GNU/linux and angband was written for UNIX. The pi is also many times more powerful than anything which existed in 1994 - it runs circles round something like a Pentium 2. It's actually easier to compile angband for the pi than it is to compile for windows.

I've looked into it myself, the difficulty isn't in running the software (which is entirely straightforward) it's in obtaining and attatching the hardware.
Gwarl is offline   Reply With Quote
Old May 22, 2017, 09:47   #3
Gwarl
Swordsman
 
Join Date: Jan 2017
Posts: 420
Gwarl is on a distinguished road
Oh and 40x6 is too small. Angband requires 80x24. I have a 5" screen which cost about $20 and is 800x480 pixels but like I say, attatching it is not straightforward.
Gwarl is offline   Reply With Quote
Old May 22, 2017, 17:35   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,054
Derakon is on a distinguished road
Quote:
Originally Posted by Gwarl View Post
Oh and 40x6 is too small. Angband requires 80x24. I have a 5" screen which cost about $20 and is 800x480 pixels but like I say, attatching it is not straightforward.
Presumably for 40x6 you'd be writing a different roguelike, rather than trying to port Angband. MicRogue is an excellent example of a roguelike that has a fairly "narrow" play area; each level the player has to get from the left side to the right while dealing with enemies.
Derakon is offline   Reply With Quote
Old May 22, 2017, 18:11   #5
Nomad
Knight
 
Nomad's Avatar
 
Join Date: Sep 2010
Location: England
Posts: 958
Nomad is on a distinguished road
40x6 is enough to have a row of four 9x5 rooms, which is pretty small but seems workable:

Code:
 You hit the small kobold (5). --more-- 
<#.......+.........#....b....#.........#
.#.#######.o.###.o.#..#...#..#.###+###.#
.#..k@...#.o.#?+.o.+.b..#..b.+.#[+D+!#.#
.#######.#.o.###.o.#..#...#..#.###+###.#
.........#.........#....b....#........>#
Nomad is offline   Reply With Quote
Old May 22, 2017, 21:38   #6
PopTart
Rookie
 
Join Date: May 2017
Posts: 10
PopTart is on a distinguished road
Quote:
Originally Posted by Nomad View Post
40x6 is enough to have a row of four 9x5 rooms, which is pretty small but seems workable:

Code:
 You hit the small kobold (5). --more-- 
<#.......+.........#....b....#.........#
.#.#######.o.###.o.#..#...#..#.###+###.#
.#..k@...#.o.#?+.o.+.b..#..b.+.#[+D+!#.#
.#######.#.o.###.o.#..#...#..#.###+###.#
.........#.........#....b....#........>#
Aw man that looks sick as hell! It's definitely time to write TinyBand or a from-scratch game for that size display.

I'd want to take advantage of the long screen aspect and design very linear dungeons with branching points (so actually a tree structure). I'll check out MicRogue.

Good to know that I'm in for a hard time with hardware hookups. I'll see if anyone makes tiny peripherals for the Pi.
PopTart is offline   Reply With Quote
Old May 22, 2017, 23:40   #7
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 4,347
Donated: $40
Pete Mack is on a distinguished road
This comes under 'program my microwave from my refrigerator,' I fear.

(Unfortunately I can't track down the original quote on that--it was an editorial cartoon.)

Quote:
Originally Posted by Nomad View Post
40x6 is enough to have a row of four 9x5 rooms, which is pretty small...
.
Pete Mack is offline   Reply With Quote
Old May 24, 2017, 14:04   #8
Gwarl
Swordsman
 
Join Date: Jan 2017
Posts: 420
Gwarl is on a distinguished road
Quote:
Originally Posted by PopTart View Post
Good to know that I'm in for a hard time with hardware hookups. I'll see if anyone makes tiny peripherals for the Pi.
As I say I looked into this and concluded that a small TFT screen was actually cheaper than an lcd character display of sufficient size. The only way you could justify using that sort of thing would be 'because I want to'. I also couldn't find any sufficiently small keyboards at reasonable prices: I'd except you'd have to build your own using an electronic component like the adafruit trinket and scavenging from other devices.

Actually check out adafruit for any DIY electronics, they have a huge variety of stock.
Gwarl is offline   Reply With Quote
Old June 1, 2017, 22:59   #9
PopTart
Rookie
 
Join Date: May 2017
Posts: 10
PopTart is on a distinguished road
This looks promising:
https://www.adafruit.com/product/3527

Thanks Gwarl
PopTart is offline   Reply With Quote
Old June 2, 2017, 07:14   #10
Gwarl
Swordsman
 
Join Date: Jan 2017
Posts: 420
Gwarl is on a distinguished road
I just want to point out, for scale, that the circuit board there is a pi zero, around half the size of a credit card. That cable is a *mini* USB.
Gwarl is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Roguelikes for Android? fph Idle chatter 7 August 24, 2015 10:02
Other fun RogueLikes OOD Town drunk Idle chatter 24 August 4, 2013 01:17
The angband dictionary - oook! SaThaRiel Oook! 3 January 9, 2010 15:05
Other roguelikes withe tyles etc? Dark Idle chatter 6 November 23, 2009 16:14
LUA in roguelikes - yes or no? PaulBlay Development 20 February 24, 2009 09:54


All times are GMT +1. The time now is 23:20.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.