Hallo User, kennst Du das Spiel "REVERSI" ? Ja, ich bin sicher ! Vor 20 Jahren spielte ich es auf einem alten DOS-PC und zuletzt auf meinem Smartphone. Ich bin kein Spieler, aber ich mag Pausenspiele, die nicht l„nger als wenige Minuten dauern. Also nahm ich es als Herausforderung ein "REVERSI" fr den CB2 zu realisieren und die Grenzen des CB2 zu testen. Da ich keine Lust hatte in irgendwelchen C++ oder JAVA-Sources zu lesen, entwickelte ich das Programm grunds„tzlich neu und wendete eben nur das Wenige an, was der CB2-Code so zu bieten hat. Bei einem derartigen Projekt kommt der CB2 definitiv an seine Grenzen. Meine h”chste Achtung haben die Programmmierer von vor 20+ Jahren. Sie muáten mit geringstem Speicher zurechtkommen. Deshalb war mein Antrieb: Was damals funktionierte, muss auch heute gehen, sogar auf dem CB2. Ganz einfach war es dann doch nicht. Das Hauptproblem beim CB2 ist nicht die Anzahl der Zeilen, sondern definitiv der Speicherplatz. Wenn im Falle von Brettspielen Koordinaten und Positionen verarbeitet werden mssen, entsteht sofort eine hohe Anforderung an Speicher-Kapazit„t und Rechenaufwand. Ich muáte daher wirklich jede einzelne Zelle und Variable betrachten und hatte bei jedem Schritt zu berlegen, ob eine Vereinfachung des Codes oder eine Optimierung m”glich ist. Im Ergebnis ist es dann doch gelungen, eine spielbare Variante zu codieren. Wegen der CB2-Grenzen konnte nur eine einfache L”sung entstehen, die auf tiefgreifende Analyse-Algorithmen wie Alfa-Beta Suchb„ume und Monte Carlo Konstrukte verzichtet. Mehr als die Realisierung einer einfachen Heuristik wie der Disk-Square Methode war nicht zu erreichen. Dennoch bin ich mit dem Ergebnis ganz zufrieden. Ein Anf„nger-Spieler kann im HIGH-Level durchaus seine Probleme beim Spiel bekommen. Eine Entwicklungszeit von fast 4 Wochen liegt hinter dem Spiel. Zur Bedienung und Beschreibung des Programms habe ich eine kurze PDF erstellt, die auch gelesen werden sollte. Vielleicht ist dieses Spiel ja ein Anreiz fr andere Programmierer, ebenfalls ein REVERSI zu entwickeln, welches m”glicherweise andere Heuristiken oder Algorithmen bercksichtigt. Viel Spaá beim Ausprobieren (und Gewinnen !) -rttyfan- --------------------------------------------------------------------------------------------- Hello User, do you know the game "REVERSI"? Yes I am sure ! 25 years ago I played it on an old DOS PC and today most recently on my smartphone. I am not a player, but I like break games that do not last longer than a few minutes. So I took it as a challenge to realize a "REVERSI" for the CB2 and to test the CB2 limits. At the beginning I didn't think it could work. Because I didn't feel like doing any C++ or JAVA sources to read, I developed the program fundamentally new and use the minimal set of commands that the CB2 code has to offer. With such a project, the CB2 will definitely reach its memory limits. The programmers from 20+ years ago have my highest respect. They had to manage with the least amount of memory. So my motivation was: What worked in the past must go today,even on the CB2. It wasn't easy. The main problem with the CB2 is not the number of lines, but definitely that Storage space. When coordinates and positions are processed in the case of board games need to be met, there is immediately a high demand for storage capacity and computing effort. So I really had to look at every single cell and variable and had every one Step to consider whether a simplification of the code or an optimization is possible. As a result, it was then possible to code a playable variant. Because of the CB2 limits, only a simple solution could be created, which is based on profound Analysis algorithms such as Alfa/Beta Search Trees and Monte Carlo are not used. More than realizing a simple heuristic like the Disk-Square method unavailable. Nevertheless, I am completely satisfied with the result.A beginner can be at the HIGH level already got his problems with the game. A development period of almost 4 weeks is behind the game. For operation and description I have created a short PDF of the program that should also be read. Maybe this game is an incentive for other programmers, also a REVERSI too which may take other heuristics or algorithms into account. Have fun trying it out (and winning!) -rttyfan-