Executive Summary
For my project I choose to be a little unorthodox and create a game rather than a business solution. I chose to recreate the game Zilch which I have played various versions of throughout the years. I initially chose the game with the idea of adding AI to the program in the form of a computer opponent. However, after many grueling hours, I decided to stick with the basic functions and just make sure that the game worked without bugs.
Ziltch! is a game of chance, where you decide how many points to risk every time you roll the dice. Players who play too conservatively will not reach 10,000 points as fast as their more aggressive opponents. However, those players who play too aggressively will Ziltch often and be left behind. While there is a lot of luck involved, the game is enjoyable because of the conservative/aggressive dynamic.
Scoring
By far the most difficult part of the code was in calculating the scoring. This is where I spent the bulk of my time writing code. It turns out that there are 55 ways to score with 6 dice, 30 ways with 5 dice, 17 with 4 dice, 8 with 3 dice, 3 with two dice and 2 with 1 die. That’s a total of 115 different scoring possibilities!
Files
Because I included external references to pictures in my programming the 18 dice below must be placed in the same folder as the excel sheet in order for Ziltch to work. Feel free to download and play at your leisure. If you want a real challange try to write code to make player 2 a computer opponent!
Excel File:
http://files.gove.net/shares/files/10w/seh69/Zilch.xlsm
18 Dice pictures:
http://files.gove.net/shares/files/10w/seh69/1.bmp
http://files.gove.net/shares/files/10w/seh69/1gray.bmp
http://files.gove.net/shares/files/10w/seh69/1Select.bmp
http://files.gove.net/shares/files/10w/seh69/2.bmp
http://files.gove.net/shares/files/10w/seh69/2gray.bmp
http://files.gove.net/shares/files/10w/seh69/2Select.bmp
http://files.gove.net/shares/files/10w/seh69/3.bmp
http://files.gove.net/shares/files/10w/seh69/3gray.bmp
http://files.gove.net/shares/files/10w/seh69/3Select.bmp
http://files.gove.net/shares/files/10w/seh69/4.bmp
http://files.gove.net/shares/files/10w/seh69/4gray.bmp
http://files.gove.net/shares/files/10w/seh69/4Select.bmp
http://files.gove.net/shares/files/10w/seh69/5.bmp
http://files.gove.net/shares/files/10w/seh69/5gray.bmp
http://files.gove.net/shares/files/10w/seh69/5Select.bmp
http://files.gove.net/shares/files/10w/seh69/6.bmp
http://files.gove.net/shares/files/10w/seh69/6gray.bmp
http://files.gove.net/shares/files/10w/seh69/6Select.bmp
Executive Summary:
http://files.gove.net/shares/files/10w/seh69/VBA_Final_Project.pdf
These are projects posted by the students of Dr. Gove Allen at Brigham Young University. These students have taken one semester-long course on VBA and generally have had no prior programming experience
Subscribe to:
Post Comments (Atom)
Blog Archive
-
▼
2010
(150)
-
▼
April
(71)
- Using Excel as a Music Player
- Experimental Design and Conjoint Analysis
- ITunes Playlist Comparer
- Comparable Company Automation Project
- Text file manipulation with VBA
- Bryce Newbold's VBA Project
- Calculating and Graphing the Efficient Frontier f...
- Gift Card Reconciliation
- Personal Budget Spreadsheet
- BLS PPI Database Query to Analyse Year-to-Year Cha...
- ReportFileExecutive SummaryThe purpose of my VBA p...
- Home Salon Management System
- New York City Apartment Complaint ListingExecutive...
- Personal Finance Tool
- Sales Agent Scorecard Generation for Integra Telecom
- The Matchmaker
- Numerical Heat Transfer Optimizations in VBA
- Web Table Converter
- CRM Data Entry Segmenation - Chris Brasher
- Report System for The Pendulum Court
- ScheduAll Report Automation - Karl Rosengren - Win...
- Farr Appraising Market Conditions Report
- Portfolio Tracker
- Luke's Automated SWA Boarder
- Sync Department Data
- A First Step Towards User-Defined Financial Ratios
- Business Charge Entry / Invoice Manager
- Awesome Adobe Automation
- Textbook List Price Aggregator by Adam Cuppett
- Money Allocator
- Minchin Timesheet v1.0.25059
- A more accurate bid
- Kingdom of Loathing Market Dashboard
- CALLING ALL CATTLE! AUTOMATING SWA’S ON-LINE RESE...
- Business Broker Searches
- Cowtail Biomechanics Analysis
- Crime in Cities data compilation
- Sudoku Solver
- Report Generator for a Legacy System
- Ward Directory Creator
- Fraud Analyzer
- Valuation of a company. Calculation of NPV and Pri...
- Daily Sales and Inventory Control for Costco Retai...
- Customer Relationship Management & Analysis Progra...
- JJ Webb - FDIC data generation
- Generating iTunes Related-Artist Playlists
- ZIltch!
- Byron Mackay - Mariner Add-ons
- Option Pricing
- Potential Project Portfolio by Erik Wenzel
- Appointment Reminders Program - Micah Lorenc
- US Army APFT score calculator and automated Counse...
- Martech Computers Invoice Scraper
- iSYB Budget - Dustin Skinner (Winter 2010)
- Tory Betts Final Project
- U.S. Treasury TARP Report Generator - Ryan Wood - ...
- Copy Report Automation - Shauna Call, Winter 2010
- Easycache - a time saving tool for Geocaching.com ...
- Inventory Optimizer - Andrea Cordani, Winter 2010
- Get a Room! - Mark Tuttle - Winter 2010
- MyData info parser - Jeff Baxter - Winter 2010
- Whisk Recipe Organizer - Brandon Anderson - Winter...
- http://files.gove.net/shares/files/10w/kdl22/VBA_...
- Day Planner - Howard Kuan - Winter 2010
- Carman Violin Studio - Jesse Carman - Winter 2010
- MyComfort Product Tracker and Serial Number Genera...
- Financial Markets Update Service - Jason Merrill, ...
- MemoSend - Danny Patterson, Winter 2010
- Cinema Data Aggregator - Adam Solter, Winter 2010
- AutoRegister - John Wilson - Winter 2010
- VDC Requests - Kevin Brinkerhoff - Winter 2010
-
▼
April
(71)
No comments:
Post a Comment