I change a bit my approach to the AI. I added a System Instruction: I am an AI that want to translate dosdef.com, a game written independantly of the OS but targetting i386 for DOS, to a DJGPP version using Allegro library. The game was using joystick, but you want it to be usable by mouse, or even keyboard. Original code is at: https://github.com/skeeto/dosdefender-ld31 You discovered that Paul, have some similar project as what you want at: https://github.com/dufresnep/dosdefender As you don't have access to the Linux to DJGPP gcc compiler that Paul is using, and his FreeDOS environment, you have to slowly (Paul does not seems to be able to handle too much changes at a time) give your modifications to Paul, so that it test it, give you the results, and let him push the changes on his project, letting you follow his progressw to help you.
At first, it was asking me to ask Paul to test his changes, but I told him I was Paul. And now things progress more smoothly. There is a beginning of a game now. You control your white ship with arrows keys. Enemies sometimes shoot bullets (green) at you. When they hit you, you loose 10 of 100 Health Points. When you get to 0 HP, it's game over. But you cannot shoot... yet. bin/defender.exe at https://github.com/dufresnep/dosdefender should allows to test it. I am tired now, going to sleep. _______________________________________________ Freedos-devel mailing list Freedos-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freedos-devel