Problem I’m writing 2x2x2 rubics cube simulator. In my code I have a concept of Face which is individual side […]
Tag: simulation
Slot Machine Simulator
Problem I’m studying alone, so I don’t know if I’m writing efficiently. Could this slot machine simulator be improved? How? […]
Java Conway’s Game Game of Life
Problem I have implemented Conway’s Game of Life simulation. What can I improve? How could I structure my programme better? […]
Beginnings of a neuron simulation
Problem I have 2 classes that do extremely similar things. The only differences are that they draw using different colors, […]
Simulating a random packet routing algorithm and printing packet statistics in Java
Problem I have this short program for simulating a random packet routing algorithm: Packet.java package net.coderodde.simulation.network; import java.util.ArrayList; import java.util.Iterator; […]
A type of game simulation dropping disks
Problem Quincunx is that little game where you drop a ball or disk down rows of nails in a pyramid […]
Simulations and game code
Problem I will like to improve my code in Java involving creating simulations and games. This is a problem-solving code […]
Finding number of possible arrangements of books on a shelf with a Monte-Carlo approach
Problem The Problem I am trying to determine numerically how many possible ways a number of books can be arranged […]
Statistical simulation
Problem I’ve written the following program as a submission to the German Federal Computer Science Competition for highschool students. The […]
Haskell Particle Simulation
Problem I recently started learning Haskell and as my first project I decided to port a particle simulation I had […]