Skip to content

RaWiLOGIC/lifeform-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript project: Life form simulation / TypeScript-Projekt: Lebensform-Simulation

Introduction

I started this project to delve a little deeper into object-oriented programming. I realized relatively quickly that I should only implement a few rules for the forms of life, otherwise the project would go beyond my time frame. Despite the few rules I am satisfied with the result (but the simulation could still be expanded and improved, although I don't have the time).

Method

If you want to experiment with my life form simulation you should do the following:

  • In the lifeform-simulation folder, open the _ts folder with your preferred language (_ts-en or _ts-de)

  • Open a new terminal

  • Start the TypeScript compiler in the newly opened terminal in watch mode with the command tsc -w

Now you can make changes in the file lfs-en.ts or lfs-de.ts. Then open lfs-en.html or lfs-de.html in your browser to see your changes.

The prerequisite is that node.js [www.https://nodejs.org] and TypeScript [https://www.typescriptlang.org] are installed on your computer.

Thank you for your interest in my life form simulation!

/

Einleitung

Ich startete dieses Projekt, um etwas tiefer in die objektorientierte Programmierung einzutauchen. Relativ schnell wurde mir bewusst, dass ich für die Lebensformen nur wenige Regeln implementieren sollte, da das Projekt sonst meinen zeitlichen Rahmen sprengen würde. Trotz der wenigen Regeln bin ich mit dem Ergebnis zufrieden (aber die Simulation könnte noch erweitert und verbessert werden, wozu mir allerdings die Zeit fehlt).

Vorgehensweise

Wenn Du mit meiner Lebensform-Simulation experimentieren möchtest solltest Du folgendes tun:

  • Öffne im Ordner lifeform-simulation den _ts-Ordner mit deiner bevorzugten Sprache (_ts-en oder _ts-de)

  • Offne ein neues Terminal

  • Starte in dem neu geöffneten Terminal den TypeScript-Compiler im Watch-Modus mit dem Befehl tsc -w

Nun kannst Du Änderungen in der Datei lfs-en.ts oder lfs-de.ts vornehmen. Öffne dann im Browser lfs-en.html bzw. lfs-de.html um deine Änderungen nachvollziehen zu können.

Voraussetzung ist, dass node.js [www.https://nodejs.org] und TypeScript [https://www.typescriptlang.org] auf deinem Rechner installiert ist.

Danke dass Du dich für meine Lebensform-Simulation interessierst!

About

A TypeScript project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published