Search found 193 matches

by GeorgeMcGinn
Wed Feb 20, 2019 3:52 am
Forum: BASIC programs
Topic: The game of Hamurabi with a new coat
Replies: 20
Views: 4256
Flag: United States of America

Re: The game of Hamurabi with a new coat

You can grab the scoring routines from my program. It even calculates the number of people who wants you dead if your bad enough! I spelled out all variables and routine labels as following old code can be difficult. Due to memory issues, sometimes programmers would reuse a variable for something di...
by GeorgeMcGinn
Tue Feb 19, 2019 3:40 pm
Forum: BASIC programs
Topic: The game of Hamurabi with a new coat
Replies: 20
Views: 4256
Flag: United States of America

Re: The game of Hamurabi with a new coat

I loaded the game, but I'm fighting a ton of syntax errors. I first fixed all the comments that were put after a label (action: ' comment was here) and one after a THEN where the next line was a multi-statement line. Now I'm getting Syntax errors on the BUTTON statements. I've been replacing title w...
by GeorgeMcGinn
Tue Feb 19, 2019 11:20 am
Forum: BASIC programs
Topic: The game of Hamurabi with a new coat
Replies: 20
Views: 4256
Flag: United States of America

Re: The game of Hamurabi with a new coat

I like your version of Hammurabi game. It has some of the features that I'm putting into mine, plus I'm adding a lot more decision making processes. However, in the three original source codes that I provided, plus in the one that I am currently coding, the original authors decided that you should e...
by GeorgeMcGinn
Sun Feb 17, 2019 7:09 pm
Forum: BASIC programs
Topic: Old school Hamurabi
Replies: 4
Views: 1508
Flag: United States of America

Re: Old school Hamurabi

EDITED: 7:05pm local time When the game was originally written, the article stated you had to learn to play the game by playing it. I'll provide you one hint. You need 20 bushels per person to feed them. So for 100 people, you need 2000 bushels (100 * 20). In the second year, if you get 19 more peop...
by GeorgeMcGinn
Tue Feb 12, 2019 6:13 pm
Forum: BASIC programs
Topic: Old school Hamurabi
Replies: 4
Views: 1508
Flag: United States of America

Re: New school Hamurabi

Here I have changed the game so that it's more modular, I have expanded the variable names so they are understandable, and it should me easy to upgrade. Planned upgrades are: More natural and human disasters (like storms, people leaving and dying, insect pestilence before harvest, etc) Graphical Use...
by GeorgeMcGinn
Tue Feb 12, 2019 5:35 pm
Forum: BASIC programs
Topic: Old school Hamurabi
Replies: 4
Views: 1508
Flag: United States of America

Re: Old school Hamurabi (Vintage BASIC Versions)

Interesting adaptation. I was the one who mentioned it, and I have three vintage versions, all dating from the 60's to the 70's. Here they are. My next post is my version where I've made some changes and working on expanding the disasters. For example, one of the versions below will allow people to ...
by GeorgeMcGinn
Fri Feb 08, 2019 3:33 am
Forum: BASIC SDK for Xcode
Topic: Can not running on my Xcode....sadly
Replies: 6
Views: 1945
Flag: United States of America

Re: Can not running on my Xcode....sadly

I know it works on version 7 and version 8.

I have version 8'and you can set your XCode to a prior version for testing. I do a lot of backward compatibility testing as part of my software process.
by GeorgeMcGinn
Thu Feb 07, 2019 12:46 am
Forum: BASIC docs & books
Topic: Minimal BASIC documentation
Replies: 3
Views: 3379
Flag: United States of America

Re: Minimal BASIC documentation

I've seen this book in 1979, 5 years after I entered the computer field. Most other languages should follow what is outlined. Thanks for resurrecting it and taking me down memory lane. Mr. K., this explains what I said in my email to you about SmartBASIC being a better BASIC than the other which wil...
by GeorgeMcGinn
Tue Jan 29, 2019 9:25 am
Forum: Libraries
Topic: Pause Function
Replies: 1
Views: 727
Flag: United States of America

Re: Pause Function

Awesome. Great thinking. This will work great when I'm reading text and data produced by a program and all I have to do is touch the screen to continue the program. I bet with a little modification I could specify the touch to be a button. This solves a problem when I write a program that produces a...
by GeorgeMcGinn
Sun Dec 02, 2018 8:50 pm
Forum: BASIC programs
Topic: Game of Risk, final version
Replies: 17
Views: 3143
Flag: United States of America

Re: Game of Risk, final version

Thanks for the information. This will help me a lot in determining how to best apply the AI for the game thank you.