Mastermind (Unity3D In-Editor Game)
What is it?
This is a game built with Unity 3D, that can be played WITHIN the Editor of Unity 3D. It was built to explore the extension capabilities of Unity 3D, and of course, to do a short game between at any time while designing and creating games with Unity.
- Unity 3D 4.0 or above (http://unity3d.com/)
How to use and how to play?
Copy the contents of the Assets Folder (except the MasterMind.unity file, which is the demo) into your Unity Project. Whenever you want to play MasterMind now, just drag the MastermindPlayable script onto any game object in your scene and watch a new component Mastermind appear in your editor. Choose the colors you want to set and click evaluate to see if you guessed it right. Indicators (black = right color and right position, white = position doesn't match) as well as a winning message will visualize your match. After you're done, click reset to clean up your scene ;)
For detailed gameplay rules have a look at the Wikipedia article
Where to get help?
(The MIT License)
Copyright (c) 2012 David Pertiller
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.