Mark Tron 2000 MK1 Bread Board CPUless Sequencing Computer. Started a Ben Eater style Bread Board Computer build a while ago. Dusted off the Mark Tron 2000 Mk1 today. It is a CPUless, micro controller less 8 bit X2 sequencing computer. My first use case was for audio control voltage signals with a step up converter to 12v. Could also be used to sequence a LED array, etc.. The architecture is, from bottom to top: logic gate cheat board, 8bit sequencer section 74hct165n, x2 74HC595N for 16 bit total RAM…
MI Python Text Adventure RPG Tutorial 3 |Battle System and Inventory Management
REPL HERE: https://repl.it/@MANDREWS85/pythontextadventuretutorial3#main.py PLAY IT: https://pythontextadventuretutorial3.mandrews85.repl.run Lets start writing out our battle method in our Game class today. We are passing in an attacker and a defender as arguments for our text adventure RPG battle method in Python. Lets explore nested functions while we are at it as well. I wanted to have nested functions in my battle method to better organize. There is an initiative function, and a to_hit function. The initiative function determines who attacks first. Then the to hit function resolves the to hit phase and damage.…
MI Python Text Adventure RPG Tutorial 2 |Add Character and Item Objects
REPL HERE: https://pythontextadventuretutorial2.mandrews85.repl.run Lets refactor our code a bit here. Before our main.py Python file becomes too cumbersome and convoluted. We are going to split all our classes into separate files or “Modules”. We will have one file for the Player, Character, Room and Item. Then import them into our Game class in the main.py Python file. While we are at it we will add some more attributes to our objects. Player and Character objects will have hit points, strength, dexterity, damage, items list, armors list, and weapons list attributes.…
MI Python Text Adventure RPG Tutorial 1 |Create The Game, Objects, and Grid
CREATING THE GAME AND GRID Repl for this section https://pythontextadventuretutorial1.mandrews85.repl.run Hey every one, Thought I would share my methodology for making a text adventure / RPG in Python. I wanted to make this in pure Python with no added dependencies, other then built in Python dependencies. I wanted to create a simple and logical text adventure frame work. Each Python class is its own “module”. I wanted each “module” to handle its own functions to keep everything clear and concise. Today we will be implementing our Game Grid in the…