Ever wondered how to implement an AI that thinks ahead just like in a chess game? In the Trial of Taijitu, you will be playing against an AI that regulates itself according to your skill.
The Trial of Taijitu is played on a field of 7 discs revolving around the symbol of duality. You control 3 alternate discs while the AI controls the other 3; the final disc closest to the centre spins on its own accord.
The object of the game is to spin the discs so that 3 or more gems match up on your side of the play area. You have 3 minutes to beat the AI and don't think that this will be an easy task...
Can you win the Trial of Taijitu?
Well, if you can't beat the game, you can always take a look at the source code to see how it's all done. And perhaps tweak the AI further to make it near undefeatable. Or relish looking at how "circular buffers" can be implemented in Construct 2.
For questions about payments and the store itself, please refer to the Scirra store frequently asked questions
A circular buffer is a data structure that uses a single, fixed-size buffer as if it were connected end-to-end. Since, the Trial of Taijitu uses gems arranged in concentric circles, it was appropriate to implement circular buffers for the game.
If you would like to know how to implement it in Construct 2, purchase the Trial of Taijitu - Full Source Code now!
Yes, of course. Our games are usually hidden with programmer features to demonstrate the importance of having such features for the game testing phase.
Here are the key codes:
a. Use "[" to see how frequently the AI makes a decision, to understand what the AI is doing, and to see the data presented for matching of gems.
b. Use "]" to see the contents of the circular buffers overlaid on the gems; this feature assists in checking AI correctness. The game pauses in this mode.
The Yin Yang symbol was used in the Trial of Taijitu game entirely for aesthetic reasons; it does not have any other meaning other than to symbolize the fight between good and evil. In this case, the player represents good (white circles), and the AI represents evil (black circles). Most of all, have fun with the game and the source code!
This Agreement is a license, not an agreement of sale. Licensee shall not acquire any copyright ownership or equivalent rights to any of the Licensed Content. Seller and the Licensed Content sources retain all right, title and interest in and to all of the copyrights, trademarks, and all other proprietary rights in the Licensed Content. All rights in and to Licensed Content not expressly granted in this agreement are retained by Seller or its suppliers.
Licensee may provide access to Licensed Content to no more than ten Authorised Users simultaneously, provided that access to Licensed Content is used solely for the purpose of creation or reproduction of Works for Distribution made by or on behalf of Licensee.
Licensee may use the Licensed Content in up to 1 commercial projects. A commercial project is one defined as a Work for Distribution launched with the capability to generate revenue, or intention to generate revenue through the sale of, licensing of, or otherwise intend to generate revenue directly from the Work for Distribution. If Licensee wishes to use the Licensed Content in more than 1 commercial projects they will need to purchase an additional License or the Licensed Content at the exclusive price if one is available (c.4).
Licensee is permitted to use the Licensed Content in unlimited free projects. A Free Project is one defined as a Work For Distribution that generates zero revenue, has generated zero revenue and does not have the capability to generate revenue in any form.
Licensed Content may not be used contrary to any restriction on use indicated herein.
Licensed Content may not be resold, sublicensed, assigned, transferred or otherwise made available to third parties except as incorporated into Works for Distribution. Licensed Content may not be distributed to third parties as standalone files or in a way that unreasonably permits the recipient to extract the Licensed Content for use separately and apart from the Work for Distribution.
Licensee may not distribute the Licensed Content in any library or reusable template, including but not limited to game templates, website templates intended to allow reproduction by third parties on electronic or printed products. Licensee may not distribute Licensed Content in a manner meant to enable third parties to create derivative works incorporating Licensed Content.
Licensee may not superficially modify the Licensed Content and sell it to others for consumption, reproduction or re-sale. For example, but without restriction, Licensee may not resell audio tracks as backgrounds, hold music, ringtones etc.
Licensee may not incorporate the Licensed Content into a logo, trademark or service mark.
Licensee may not incorporate the Licensed Content in advertisments (excluding advertisments for permitted Work For Distribution), broadcast TV, theatrical or movie releases.
Licensee shall not use the Licensed Content in a manner that violates the law of any applicable jurisdiction.
Licensee shall not claim copyright or attribution of Licensed Content.
Licensee shall not use the Licensed Content in a pornographic or defamatory manner, whether directly or in context or juxtaposition with other materials.
The license contained in this Agreement terminates automatically without notice from Seller if Licensee fails to comply with any provision of this Agreement. Upon termination, Licensee must with immediate effect stop using the Licensed Content, destroy, delete and remove the Licensed Content from Licensee’s premises, computer systems and storage. Licensee must also make all reasonable efforts to ensure that copies of the licensed content are removed from any locations it has been distributed to.
If you purchase an asset an an exclusive price, you are also bound by all terms in this License (c). An exclusive price means that the item from that point onwards will be delisted from the Scirra store and no longer for sale. Non exclusive licenses may have already been sold up to that point. Use the sales figures published on the items page for indication of how many have been sold to date. Licensed Content purchased at an exclusive price are permitted for use on unlimited projects within the terms of this Agreement.
If you receive a refund for payment of Licensed Content in part or full that you requested, your license is terminated with immediate effect and you must follow all termination procedures listed in (c3). If you purchased Licensed Content at an exclusive price it may be relisted for sale in the store.
Buy this item at the exclusive price today and it we will be de-listed from the Scirra store immediately!
Items with exclusive prices are not sold anywhere else, and will not be sold anywhere else ever again if purchased at this price.
This item has currently been sold an estimated 10 times to date. Buy at the exclusive price today and no one else will be able to buy it.
Trial of Taijitu
Play the Trial of Taijitu!
Try before you buy, play the game now!
Save 33% on Trial of Taijitu
for one discount price!
A sliding puzzle template similar in concept to 2048
A multi-level casual sandbox puzzle - Full source
A Qix-inspired game template mashed-up with Route 66!
Rogue-like action based game based on tile geomorphs
3D Mahjong Solitaire with C2. Try out the demo today!
Easy to use Platformer template
20 currencies accepted here!