Mintoris

Author Topic: Hayes Game  (Read 1047 times)

Bernadette

  • Full Member
  • ***
  • Posts: 68
Hayes Game
« on: Mar 08, 2018, 02:09 PM »
Hello, I worked up a board game that I call Hayes, it has rules similar to chess, B-diagonal, Q-anything, K-one square, C - V. or H., I labeled cardboard squares and move them around, if a player loses their K then they have been Hayes'd and the game is over, Hayes1c.bas is the board with a short demo, for some reason it needs to be Restarted to run, the demo ends with player 2 needing to decide what to do next, that's all it does for now, I plan to work on it some more, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #1 on: Mar 09, 2018, 09:16 AM »
Hello, I added touch control for player 2 moves, player 1 moves are done by the computer (both prescribed), same end results of the demo, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #2 on: Mar 10, 2018, 12:58 PM »
Hello, the demo play (Hayes1k) has advanced to where both players will probably lose their C's, (all prescribed), Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #3 on: Mar 15, 2018, 09:20 PM »
Hello, the program, Hayes7h.bas, is much larger, the demo is done, some pieces X'd, and a K piece hayes'd, I laid the groundwork for about 3000 autonomous moves, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #4 on: Mar 20, 2018, 08:38 PM »
Hello, I rewrote the program and made it smaller, Hayes12a.bas, now on to autonomous, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #5 on: Mar 21, 2018, 12:27 AM »
Hello, autonomous, near the beginning of the program, Hayes12d.bas, is Auto1=0, makes it autonomous, Auto1=1, makes it auto, it was fairly easy to switch the demo moves over to autonomous, that's all for now, more to come, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #6 on: Mar 21, 2018, 06:00 PM »
Hello, here it is, Hayes12n.bas, decide which w piece to move, touch it's name on the right, touch the w piece, wait, touch where to move it, wait, then decide which b piece to move, touch it's name on the right, touch the b piece, wait, touch where to move it, wait, and so on, I haven't checked all of the possibilities, there probably are errors, Harold.




Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #7 on: Mar 22, 2018, 11:20 AM »
Hello, I corrected some errors, Hayes13c.bas, made demo2, Auto2=1, advanced to where no matter what player b does, the game is probably lost, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #8 on: Mar 24, 2018, 12:52 PM »
Hello, I finished demo2, Auto2=1, and made demo3, Auto3=1, Hayes14n.bas, I made demo1 the same format as 2&3, less confusing, all three end up with a K hayes*d, Auto3 is on, to get to autonomous, make Auto3=0, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #9 on: Mar 26, 2018, 10:08 PM »
Hello, I set it up to log a series of autonomous moves and display them, Hayes16e.bas, Log can be touched to get a display of the moves, a screen shot can be taken to get a record of the moves, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #10 on: Mar 27, 2018, 10:45 PM »
Hello, Hayes16h.bas is an update, Log01 is a screen shot of the log of moves of an autonomous game, End01 is a screen shot of the end of the game with Kb hayes*d, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #11 on: Mar 29, 2018, 10:51 AM »
Hello, line "if Auto1=0 then C1=1" in Hayes16h.bas Step162a: needs to be deleted, now, since the w pieces always get to move first in a new game, they usually win unless they make a bad move, this latest game has a short ending, End02, Log02, Kb hayes*d, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #12 on: Mar 30, 2018, 03:58 PM »
Hello, I added move numbers to the log, Hayes16p.bas, Log06a, and indicators on whose turn it is, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #13 on: Mar 30, 2018, 05:16 PM »
Hello, error, in Hayes16p.bas, about 2/3 down in the program, Step10:'  Log, Step5a=P2$ needs to be Step5a$=P2$, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #14 on: Mar 30, 2018, 06:09 PM »
Hello, change, now that the program is running good, I want it to run faster, I changed W1 at the beginning of the program from 1000 to 100, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #15 on: Mar 31, 2018, 11:13 AM »
Hello, with the new setting, W1=100, the auto selections like Auto100: need a new line, W1=1000, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #16 on: Mar 31, 2018, 03:02 PM »
Hello, Auto400.txt can be pasted into Hayes16p.bas as a short demo of Kb getting hayes*d, add 2 lines at the beginning of Hayes16p.bas similar to the other auto selections, the data values for these moves are in a chart at the bottom of Hayes16p.bas, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #17 on: Mar 31, 2018, 05:48 PM »
Hello, to make Hayes16p.bas work good on my phone, I put SetScale 1300,800, and deleted a space in the space variable for the upper characters, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #18 on: Apr 01, 2018, 05:37 PM »
Hello, I added 2 demos and made them all selectable by touch, Hayes17b.bas, I thought the last one was done, but it's not, Harold.

Bernadette

  • Full Member
  • ***
  • Posts: 68
Re: Hayes Game
« Reply #19 on: Apr 01, 2018, 10:28 PM »
Hello, demo6, A6, can be started over in autonomous mode and go in many directions and I'm going to leave it that way, demo5, A5, Auto500: in the program, has Wait M1 at the end, the M1 needs to be deleted, Harold.