Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old October 18, 2010, 19:38   #1
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Official announce of pyAngband

Yep just as the title says, I'm officially working on pyAngband.

So far it's going to be a straight (as possible) clone of Vanilla. It should be very easy to extend, modify, and otherwise make into a variant. I'm trying to make the various pieces of source have as low coupling as possible, so a change in one place won't mess up the rest of it... at least in theory.

As of now I'm still working on the game "skeleton" to which I can add all of the V algorithms for items, combat, etc.

I'll post the source as soon as I have something semi-playable, or at least something with passing unit tests.
Sirridan is offline   Reply With Quote
Old October 18, 2010, 20:07   #2
fizzix
Prophet
 
Join Date: Aug 2009
Location: Madison, Wisconsin, US
Posts: 3,002
fizzix is on a distinguished road
Cool. I'm glad to hear you decided to go through with this endeavor.
fizzix is offline   Reply With Quote
Old October 18, 2010, 20:18   #3
Therem Harth
Knight
 
Therem Harth's Avatar
 
Join Date: Jan 2008
Location: New England winter
Posts: 923
Therem Harth is on a distinguished road
AWESOME. Absolutely awesome.

This is *so* going to be the base for my next *band project, as soon as it gets anywhere near usable.
Therem Harth is offline   Reply With Quote
Old October 18, 2010, 21:16   #4
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,937
Derakon is on a distinguished road
Good luck!

What are you using for source control / project status? The sooner you get that up and get some milestones made, the sooner others can start helping you out.
Derakon is offline   Reply With Quote
Old October 18, 2010, 21:38   #5
cinereaste
Scout
 
Join Date: May 2010
Posts: 39
cinereaste is on a distinguished road
This is an exciting announcement! I'm sure there are a few of us that would love to help contribute, so I echo Derakon's sentiment.
cinereaste is offline   Reply With Quote
Old October 18, 2010, 22:37   #6
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
Good luck! I'm excited to see your progress!
__________________
linux->xterm->screen->pmacs
d_m is offline   Reply With Quote
Old October 19, 2010, 01:54   #7
Therem Harth
Knight
 
Therem Harth's Avatar
 
Join Date: Jan 2008
Location: New England winter
Posts: 923
Therem Harth is on a distinguished road
Err wait a minute. Will this be Python 2 or Python 3? Because I believe Python 2 may be falling off the radar soon...
Therem Harth is offline   Reply With Quote
Old October 19, 2010, 02:28   #8
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 8,937
Derakon is on a distinguished road
Properly-written Python 2 code can be ported to Python 3 with a minimum of effort.
Derakon is offline   Reply With Quote
Old October 19, 2010, 07:23   #9
zaimoni
Knight
 
zaimoni's Avatar
 
Join Date: Apr 2007
Posts: 590
zaimoni is on a distinguished road
Quote:
Originally Posted by Derakon View Post
Properly-written Python 2 code can be ported to Python 3 with a minimum of effort.
If that "minimum effort" can handle the complete redefinition of whether integer/integer resolves to an integer or a float result, etc.
__________________
Zaiband: end the "I shouldn't have survived that" experience. V3.0.6 fork on Hg.
Zaiband 3.0.10 ETA Mar. 7 2011 (Yes, schedule slipped. Latest testing indicates not enough assert() calls to allow release.)
Z.C++: pre-alpha C/C++ compiler system (usable preprocessor). Also on Hg. Z.C++ 0.0.10 ETA December 31 2011
zaimoni is offline   Reply With Quote
Old October 19, 2010, 14:11   #10
d_m
Angband Devteam member
 
d_m's Avatar
 
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 39
Posts: 1,516
d_m is on a distinguished road
Quote:
Originally Posted by zaimoni View Post
If that "minimum effort" can handle the complete redefinition of whether integer/integer resolves to an integer or a float result, etc.
You're right, but since Python 2 now supports using "//" to guarantee integer division, the correct thing to do for modern Python 2 is to use "//" any place you want integer division (like in Python 3), and use "/" only with floating point (giving floating point results, like Python 3). If you do this then the upgrade is seamless.

The bigger issues is the bytes/strings split, but even there it's possible to write "future-proof" code that will upgrade to 3 pretty easily.
__________________
linux->xterm->screen->pmacs
d_m 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
The Official Bad Advice Thread steeg1234321 Vanilla 158 October 24, 2011 19:56
Announce DaJAngband 1.2.3 released will_asher Variants 7 January 19, 2011 23:42
Gumband 2.3.1 Announce rdanhenry Variants 35 May 22, 2009 07:16
Official Release kingwanabee Vanilla 4 February 7, 2009 05:42
Announce: DaJAngband v1.0.03 will_asher Variants 4 February 6, 2008 21:23


All times are GMT +1. The time now is 16:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.