Tetris for DOORS
Aim of the game is to fill as many squares as possible within the time allowed. You score a point for every square that is filled and a bonus of 50 points for each full row of squares.
The code demonstrates many features of DXL that are not well documented.
Othello for DOORS
Othello (aka Reversi) has fast become one of the most popular and most often played games in history, spawning contests and tournaments on regional, national and even worldwide levels. Othello is a game of skill and strategy, yet it only takes a minute to learn!
The source code is a single DXL script.
Blackjack for DOORS
Blackjack outnumbers other casino table games by a margin of about two to one. The game is so immensely popular because, when played correctly, it offers better odds than any other game. The purpose of the game is to get a hand total higher than the dealer’s without going over a count of 21. You play against the dealer, not against other players at the table. Whatever hand you end up with must be 21 or less, but higher than what the dealer has.
The implemntation of the rules of the game is quite simple, but the use of a canvas to display the cards is more interesting and shows how a primitive form of animation can be achieved with DXL.
The download is packaged as a zip file and contains a single DXL file and an images directory containing bitmaps of a deck of cards. Download the zip file and extract files to a location of your choice. You will need to edit blackjack.dxl and change the IMAGE_DIRECTORY path to match your installation directory.
The Tile Game for DOORS
Note the arrangement of tiles - in numerical order, left to right, starting from the top left. Start game by clicking on start and then slide tiles back into the original positions to win. Slide a tile by clicking on it. There is a time limit set so click quick!
The code demonstrates many features of DXL that are not well documented.
