×

Langue

Fermer
Atelier 801
  • Forums
  • Dev Tracker
  • Connexion
    • English Français
      Português do Brasil Español
      Türkçe Polski
      Magyar Română
      العربية Skandinavisk
      Nederlands Deutsch
      Bahasa Indonesia Русский
      中文 Filipino
      Lietuvių kalba 日本語
      Suomi עברית
      Italiano Česky
      Hrvatski Slovensky
      Български Latviešu
      Estonian
  • Langue
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Minigame] Mastermind
1 / 2 › »
[Minigame] Mastermind
Leafileaf
« Citoyen »
1394798820000
    • Leafileaf#0000
    • Profil
    • Derniers messages
    • Tribu
#1
  0
Hello, I recently created a new minigame, and I'd like to share with you all ! :)

Mastermind is a two-player game.
One of the players picks four colours (the "Master"), and the other player (the "Guesser") will have to guess what the colours are.

To make a guess, the guesser has to pick four colours.
The master will then have to respond to this set of four colours, by placing red and white dots.

Red means that one of the colours are correct, and in the correct position.
White means that one of the colours are correct, but in the wrong place.

The order of these dots do not affect the gameplay.

Using these hints, the guesser would have to use 10 guesses to guess the colour combination that the master has picked.

I've made a Lua adaptation of this game :D

I actually made it because I was bored, but I found it fun so I thought I'd post here.

In this adaptation, you play against an AI. (hence making it singleplayer-compatible)
It runs at /room *#mastermind0vsai when I load it.

I'll add pictures later :D

----- Commands -----

* = For admins only.
!help ----------------- Opens the help.

!col [x] --------------- Sets the number of colours usable by the AI to [x]. If unspecified, [x] defaults to 6.
!reset ---------------- Empties your board, and resets the AI's colour combination.

*!set [ playername ] --- Shows that player's colour combination. If unspecified, [ playername ] defaults to your own name.
*!tribe --------------- Disables those annoying tfm.exec.chatMessage errors when loading in tribehouse.

----- How to Play -----

Clicking on one of the colours in the top-right corner causes it to be inserted to the current row.
Inputting 4 colours into the row will allow you to submit that combination as a guess.
Clicking on the highlighted area (which the inputted colours are added to) will reset that row.

Guess the combination right to win.

----- Script -----

Seeing as many people would like to play, I'm going to give the script out !

http://pastebin.com/h60myAbJ

Go to line 3 and edit the admins table:
admins,players={Yournamehere=true},{}

After you load it in your tribehouse, do !tribe so you don't get those annoying "You don't have the right to use tfm.exec.chatMessage" messages. (or something like that)

Dernière modification le 1409393880000
Leafileaf
« Citoyen »
1394798820000
    • Leafileaf#0000
    • Profil
    • Derniers messages
    • Tribu
#2
  0
Version 0.9.0 - Created a very buggy Mastermind.
Version 1.0.0 - Official release. Added a way to clear the row.
Version 1.0.1 - More bug fixes. Now, if you !reset after losing, an extra box does not appear at the top.
Version 1.0.2a - !reset now kills and respawns you to reset the scoreboard time.
Version 1.0.2b - Admins can use !set playername to see that player's colour combination.
Version 1.0.2c - Fixed some grammatical errors. Files seemed to have rolled back so reuploaded latest version.
Zutto
« Citoyen »
1394802780000
    • Zutto#4451
    • Profil
    • Derniers messages
    • Tribu
#3
  0
I'm playing it and is so kawaii ^^
Livcorish
« Citoyen »
1394809980000
    • Livcorish#0000
    • Profil
    • Derniers messages
#4
  0
Plan to try it out soon! Sounds awesome! :)
Uditya
« Citoyen »
1394813520000
    • Uditya#0000
    • Profil
    • Derniers messages
    • Tribu
#5
  0
I tried it.
Its pretty fun i think :3
But its very hard ;; i was not able to understand but then i got it
Cagataymylov
« Censeur »
1394813640000
    • Cagataymylov#0000
    • Profil
    • Derniers messages
    • Tribu
#6
  0
where is the roooom?
Fatihmilanov
« Citoyen »
1394819940000
    • Fatihmilanov#0000
    • Profil
    • Derniers messages
    • Tribu
#7
  0
Looks cool.
Williamkang
« Citoyen »
1394821980000
    • Williamkang#0000
    • Profil
    • Derniers messages
#8
  0
room broken
Leafileaf
« Citoyen »
1394847360000
    • Leafileaf#0000
    • Profil
    • Derniers messages
    • Tribu
#9
  0
The room's up now !
Pinkcinnimon
« Citoyen »
1394854740000
    • Pinkcinnimon#0000
    • Profil
    • Derniers messages
    • Tribu
#10
  0
its works great and its a really kool mini game *-*
but im to noob to figure the questions out XD
Skinnyfatlegend
« Citoyen »
1394855880000
    • Skinnyfatlegend#2903
    • Profil
    • Derniers messages
    • Tribu
#11
  0
This game is very frustrating. It's hard to understand the combination, which makes this fun.
Fufuya
« Citoyen »
1394862720000
    • Fufuya#0000
    • Profil
    • Derniers messages
    • Tribu
#12
  0
Leafileaf a dit :
The room's up now !

can i go to the room now??
Enginfener
« Citoyen »
1394882280000
    • Enginfener#0000
    • Profil
    • Derniers messages
    • Tribu
#13
  0
Very Nice game
Leafileaf
« Citoyen »
1394967900000
    • Leafileaf#0000
    • Profil
    • Derniers messages
    • Tribu
#14
  0
Rebooted the room.
Benbirkralm
« Citoyen »
1394984160000
    • Benbirkralm#0000
    • Profil
    • Derniers messages
    • Tribu
#15
  0
I played this game. It is great!
Nekoava
« Citoyen »
1394988660000
    • Nekoava#0000
    • Profil
    • Derniers messages
    • Tribu
#16
  0
Leafileaf a dit :
It runs at /room *#mastermind0vsai when I load it.

Cagataymylov a dit :
where is the roooom?

^

-

Can't wait to play. It looks like the minigame isn't up currently.
Sisterofpuga
« Citoyen »
1395271680000
    • Sisterofpuga#0000
    • Profil
    • Derniers messages
    • Tribu
#17
  0
Everytime I go it is not loaded. :P
Nyanhackers
« Citoyen »
1395349080000
    • Nyanhackers#0000
    • Profil
    • Derniers messages
    • Tribu
#18
  0
Just wait until Leafifleaf loads it then go on it. You probably not on at right times
Sisterofpuga
« Citoyen »
1395351240000
    • Sisterofpuga#0000
    • Profil
    • Derniers messages
    • Tribu
#19
  0
It looks great though btw.
Mateusrue
1395426780000
    • Mateusrue#0000
    • Profil
    • Derniers messages
#20
[Modéré par Bolinboy, raison : spam]
  • Forums
  • /
  • Transformice
  • /
  • Modules
  • /
  • [Minigame] Mastermind
1 / 2 › »
© Atelier801 2018

Equipe Conditions Générales d'Utilisation Politique de Confidentialité Contact

Version 1.27