This is a small game, Gobang, you can play with an AI(not very smart).
Just write it for learning abap oo and new Syntax.
If any question, please leave a message.
looks like a ALV? haa, yes, this is a ALV.
Code:
First we define a type for char4....
It's not a real AI because no learning, there is a valuation algorithm to estimate the best position in every time, I add a random number to avoid same strategy.
Just a small program for fun and exercise, I design many algorithm for the game but it'...
In tech view, BAPI is a function module, BADI is enhancement, they are exactly two kinds of stuff, don't let their names confuse you.BAPI is a peace of code, BADI is an enhancement for standerd program, user can add their own logic, sometimes also ha...
Looks great. our project also has some reports, we usually create a big class as business class and put all logic into it(even display), the report just provide the parameters and do some checks, what do you think about this way?