Posts

Showing posts from January, 2018

Necromantion Workings : The Engine (1)

The Main Interface The main question when starting a game is how to distribute the functionality, as otherwise the code can go really messy really fast. My solution was as follows: The whole game is decomposed into several Engine s. However, they are not arranged in quite the way one would expect. Each Engine is primarily concerned with a specific part of the UI screen's management. There are mainly three classes that implement this interface :  GameEngine HUDEngine MessageEngine I will brief about what each of them does here, but will write separate articles for each. Now, to begin with, what is the Engine class all about? Well, it defines the following properties offsetX offsetY length breadth Now, I should mention here only that this is a grid based game. So, all these values basically store the grid number. When drawing on the actual screen, the objects are magnified by a constant factor which I will mention later. Now, these four variables allo

MTRP Exam (Class 11)

MTRP Exam (Class 11)

Planar Graphs - My understanding - part 1

Planar Graph (upcoming...)

INOI exam

Panini Linguistics Olympiad - PLO - Level 1

Today, PLO level exam was conducted. How it went... (coming up) How to prepare ...(coming up)