Skip to content

Frank DeCaire

A Blog About Random Computer Subjects

Search
  • Favorite Sites
  • Search

Game

Working with HTML5 Canvas

February 12, 2019June 10, 2018 by Frank DeCaire

Summary I’m going to change it up a bit by rendering some graphics.  In this post I’m going to use the Canvas object in HTML5.  In the past I’ve written programs to render graphics in SilverLight and when SVG became part of HTML5, I’ve built software that used SVG.  I’ve also written software to use … Read moreWorking with HTML5 Canvas

Categories C#, Game, Graphics, Javascript, JQueryLeave a comment

Game Algorithms (Part 3)

February 17, 2019January 17, 2015 by Frank DeCaire

Introduction In my previous two blog posts on game algorithms, I showed how to search for a ship in a battleship game.  Now, I’m going to show how to sink a ship as soon as your search algorithm gets a hit.  In this article, I’m only going to discuss possible algorithms, there will be no … Read moreGame Algorithms (Part 3)

Categories C#, GameLeave a comment

Game Algorithms (Part 2)

February 17, 2019January 17, 2015 by Frank DeCaire

Introduction If you read my last game algorithm blog post you’re probably screaming at me “Where’s the rest of the game AI ?!!”  So in this post I’m going to go more in depth on searching for a ship to sink.  In a future post, I’ll show how to figure out where to fire once … Read moreGame Algorithms (Part 2)

Categories C#, GameLeave a comment

Game Algorithms

February 17, 2019January 3, 2015 by Frank DeCaire

Intro I have a few blog post subjects in progress, but they’re going to take some time to develop the sample applications that I’ll need in order to explain the techniques that I’ll be blogging about. In the mean time, and due to a little A.D.D. on my part, I’m going to do a blog … Read moreGame Algorithms

Categories C#, GameLeave a comment

The Game – Artillery

February 18, 2019October 22, 2014 by Frank DeCaire

Summary So BattleField One has gotten a little more serious. My goal in this project is to design and build a strategy game engine. Eventually I’ll demonstrate how to modularize the interface so that the game can operate with DirectX instead of a web-based interface using SVG. My method of development is to do this … Read moreThe Game – Artillery

Categories BattleFieldOne, C#, Game, JavascriptLeave a comment

The Game – Forest Terrain

February 19, 2019October 19, 2014 by Frank DeCaire

Summary In my last blog post on the game I demonstrated how to setup blocked terrain cells (aka mountains). Now I’m going to introduce a forest cell that will block tanks but not infantry. The Forest Terrain Type I wanted to introduce a forest terrain type so that I could prevent tanks from penetrating (assume … Read moreThe Game – Forest Terrain

Categories BattleFieldOne, C#, GameLeave a comment

The Game – A* Algorithm

February 19, 2019October 19, 2014 by Frank DeCaire

Summary I’ve been working on this game called Battlefield One and it has a very simple algorithm for computing the next move that an enemy unit will take in order to reach it’s goal.  The algorithm used searched all 6 surrounding hex and eliminates illegal hex points (off the grid or occupied by a unit).  … Read moreThe Game – A* Algorithm

Categories A* Algorithm, BattleFieldOne, C#, GameLeave a comment

Game Design, Back to Battlefield One

February 19, 2019October 12, 2014 by Frank DeCaire

Summary A while back I wrote a sample game called Battlefield One. This game was a turn-based war game that was built on SVG, javascript and C#. I have since converted this game into an MVC application (although it still uses the same code-behind techniques and I keep track of the game state with a … Read moreGame Design, Back to Battlefield One

Categories BattleFieldOne, GameLeave a comment

The Game (Part 4)

February 24, 2019June 15, 2013 by Frank DeCaire

I have implemented the mask and view capabilities. I’m calling this version 2. Here’s a sample screenshot of how it looks in action: The first thing you’ll notice about this map is that unexplored areas are colored in black. These will uncover as allied units are moved around the map. The darker areas are areas … Read moreThe Game (Part 4)

Categories AJAX, C#, Game, Javascript, programmingLeave a comment

Follow-Up on Designing a Game

February 24, 2019June 13, 2013 by Frank DeCaire

I designed and created a small game to demonstrate several techniques. First, I demonstrated how to contain the scope of a project to ensure it gets out the door. While this was only a tiny project, my goal was to create a working game over the span of a weekend or possibly a week (It … Read moreFollow-Up on Designing a Game

Categories C#, Game, Javascript, Software Development, SVGLeave a comment

Recent Posts

  • Nibbler – Wiring Complete
  • Nibbler – Power Wires Complete
  • Nibbler – Ready to Wire
  • Nibbler – Getting the parts organized
  • A 4-bit Computer

Recent Comments

  • Frank DeCaire on Digital Electronics for the Beginner
  • ocaeon on Digital Electronics for the Beginner
  • ocaeon on The Sad State of Technology
  • Peter Zieba on Programming the GAL22V10
  • Frank DeCaire on Nibbler – Getting the parts organized

Archives

  • May 2024
  • April 2024
  • February 2024
  • August 2023
  • June 2022
  • April 2021
  • August 2020
  • February 2020
  • December 2019
  • October 2019
  • June 2019
  • April 2019
  • February 2019
  • January 2019
  • December 2018
  • October 2018
  • September 2018
  • June 2018
  • March 2018
  • February 2018
  • January 2018
  • November 2017
  • October 2017
  • September 2017
  • August 2017
  • July 2017
  • May 2017
  • April 2017
  • March 2017
  • February 2017
  • January 2017
  • December 2016
  • November 2016
  • October 2016
  • August 2016
  • May 2016
  • April 2016
  • March 2016
  • February 2016
  • January 2016
  • December 2015
  • October 2015
  • September 2015
  • August 2015
  • July 2015
  • May 2015
  • April 2015
  • March 2015
  • February 2015
  • January 2015
  • December 2014
  • November 2014
  • October 2014
  • September 2014
  • August 2014
  • July 2014
  • June 2014
  • May 2014
  • April 2014
  • March 2014
  • February 2014
  • January 2014
  • November 2013
  • June 2013
  • May 2013
  • April 2013
  • March 2013
  • February 2013

Categories

  • .Net Core
  • A* Algorithm
  • ADO
  • AJAX
  • API
  • ASP
  • Autofac
  • BattleFieldOne
  • Blender
  • C/C++
  • C#
  • Caching
  • CE
  • Classic ASP
  • Code-First
  • Code-Only
  • COM
  • Connection Pooling
  • Continuous Integration
  • Database
  • Dependency Injection
  • DevOps
  • Digital Electronics
  • EF
  • EF-6
  • Entity Framework
  • Fluent NHibernate
  • FPGA
  • Game
  • GDI+
  • Google Maps
  • GPS
  • GPX
  • Graphics
  • HasMany
  • HDL
  • IDisposable
  • IIS
  • IOC
  • Javascript
  • JQuery
  • JSON
  • Lazy Loading
  • Legacy Code
  • LINQ
  • Linq-to-SQL
  • LocalDB
  • Mappings
  • MiniProfiler
  • Mocking
  • MongoDB
  • Monogame
  • Moq
  • MS SQL 2005
  • MS SQL Server
  • MS Visio
  • MSSQL
  • Multi-Threading
  • MVC
  • MySQL
  • NHibernate
  • Nibbler – 4 Bit Computer
  • NuGet Packages
  • Oracle
  • ORM
  • Powershell
  • programming
  • Redis
  • Scaling
  • Security
  • Serialization
  • Sessions
  • So you want to build software for a living
  • Software Development
  • Spam
  • SQL Server
  • SQLite
  • SQLLocalDB
  • Stored Procedure
  • SVG
  • Technology
  • Technology Failures
  • The Direct Project
  • Threading
  • TTL Logic
  • Uncategorized
  • Unit Testing
  • Unity
  • VB.Net
  • VHDL
  • Vintage Computers
  • Visual Studio
  • Visual Studio 2012
  • Web API
  • Web Sessions
  • Windows Service
  • x86 programming
  • XML
  • XUnit

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 14 other subscribers
© 2025 Frank DeCaire • Powered by WPKoi
Scroll back to top