A dungeon battle

A planned battle

Hi all,

We're attempting to create a game with a few parts:

  1. Your group of 6 units enters rooms in a hex grid dungeon
  2. When you enter a room, you have to defeat everyone in the room to progress. The room is also a hexgrid (see picture above).
The battles proceed in a turn-based style. Each turn goes like this:

  1. 6 dice are rolled
  2. Each number is the number of turns that a unit can take, and you can assign them as you like
  3. A plan is created for each unit, which consists of moving and attacking (up to the number of moves)
  4. The AI makes a similar plan
  5. The two plans are executed simultaneously, with units with the lowest number of moves going first

The turns continue until all the enemies, or all the players units are dead.

Unfortunately, a lot of pieces are still missing, most importantly any interface for doing the planning. I hope that we'll get something in, but it's more likely to be a demo than anything polished.

Hope everyone else's pyweeks are going well!

(log in to comment)

Comments

Sadly I can't get this to work:

Traceback (most recent call last):
  File "run_game.py", line 4, in <module>
    main.main()
  File "/home/paul/pyweek27/unzip/66666666666-0.1/gamelib/main.py", line 695, in main
    run_example(Main)
  File "/home/paul/pyweek27/unzip/66666666666-0.1/gamelib/window/__init__.py", line 38, in run_example
    cursor=values.cursor,
  File "/home/paul/pyweek27/unzip/66666666666-0.1/gamelib/window/pyqt5/window.py", line 91, in __init__
    self.ctx = moderngl.create_context(require=self.gl_version_code)
  File "/home/paul/.local/lib/python3.6/site-packages/moderngl/context.py", line 1111, in create_context
    require, ctx.version_code))
ValueError: Requested OpenGL version 330, got version 0

Thanks for trying.

I saw your previous comments in trying to get "What The Frog?" to work, and I think this will be the same problem with OpenGL version. We modified one of the moderngl examples, which required OpenGL 3.3.

Our game is grossly unfinished, so I can't really recommend debugging further.