C#, Code

Statistics tracker for a tabletop game

A statistics tracker that keeps track of three variables each day for four weeks. This tracker is for the tabletop role playing game ‘Tomb of Annihilation.’ The user can keep track of their resources and the rainfall amount. Simple save and open writes a text file to the location the program is running in.

Continue Reading
Code, Python

NES catalog database

Download the code at https://github.com/brettius/nes-database A Python database capable of cataloging old cartridge games in a collection, this one specifically for Nintendo Entertainment System cartridges. The following is the procedural code. The code starts by importing the needed modules. The regular expression module is to be used to attempt to ensure clean data entry. import database import pickle import re Define…

Continue Reading
Code, Python

Historical weather in Austin, TX

First try at running data analysis using Python to access an Excel workbook, extract the relevant information, and display it in a graph using pyplot. First is to import the scv module, pyplot, read through the excel sheet and enter the high temperature and the current date into lists. import csv from matplotlib import pyplot as pt from datetime import…

Continue Reading
Code, Python

Checksum Checker

Download at https://github.com/brettius/checksum-checker Simple checksum checker to compare two different checksums, or any strings. print(‘Checksum Checker v1.0\n’) check_one = input(‘Enter first checksum:\n\n’) check_two = input(‘\nEnter second checksum:\n\n’) if check_one.strip() == check_two.strip():    print(‘\nSuccess! Matching checksums’) else:    print(‘\nDid not match. Re-download the file.’)  input(‘\nPress a key to exit’)

Continue Reading
Blog

Screamer

Milestone 1995 Rating: Screamer is a straightforward racing game, where your get to choose some late 80’s era looking cars to race down a variety of tracks scattered across the world, in single mode or in a championship. This had to have been the first racing game I ever played, and I was pretty entranced at the first time. Going…

Continue Reading
Blog

Theme Hospital

Theme Hospital Electronic Arts 1997 Rating: Theme Hospital is a simulation game where you take charge of building the best hospital you can build. Eh I know it’s not a goal you would usually associate yourself with wanting. So in this game you get placed in charge of four walls and not much else and it’s your job as hospital…

Continue Reading
Code, Python

D&D Battle Tracker

Download code at https://github.com/brettius/d-d-battle-tracker A text program that keeps track of important statistics for the Dungeons and Dragons role playing game. First the code import pickle, define the main function, comprising a dictionary and the user menu. import pickle print(‘Barbarian Battle Tracker’) def main():                             player_stats = {‘HP’: 0, ‘Max HP’ : 0 ,’Hit Dice’: 0,…

Continue Reading
Code, Python

Farmer River Crossing Puzzle

Download full code at at https://github.com/brettius/farmer-river-crossing-game One of the classic puzzles. How does a farmer get a fox. a goose corn across a river? Constraints are that only one item can be taken at a time, and certain items cannot be left with each other, for example the goose who will eat the corn. The highest level function is defined…

Continue Reading
C#, Code

D&D Battle Tracker GUI

Download code at https://github.com/brettius/d-and-d-battle-tracker-gui Download program at http://code.brettosteen.com Built in C# and Visual Studio, this small GUI program is something I made to keep track of important statistics during a dungeons and dragons game, while referencing a PDF of a character sheet. The save and open buttons function and they read and write to a .txt file. The first part of the…

Continue Reading
Code, Python

D&D Multi Dice Roller

Download full code at https://github.com/brettius/d-and-d-dice-roller A multiple dice roller program, suitable for Dungeons and Dragons role playing game. The user can select a number of dice and amount, then roll the selected dice. First, a function is built to get the name of the dice, for example, a ‘d4’, and how many are chosen, and insert the name, the lowest and…

Continue Reading