Southclaws/samp-guess-word-game
A function request I received. Good example of sampctl.
Autor zarchiwizował to repozytorium, więc nie jest już rozwijane.
To repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.
Zainstaluj za pomocą sampctl
sampctl package install Southclaws/samp-guess-word-game
Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.
Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.
Zależy od 3 pakietów
- southclaws/samp-stdlibnie ma go w tym katalogu
- zeex/amx_assemblynie ma go w tym katalogu
- misiur/ysi-includesnie ma go w tym katalogu
README.md
strcmpex
strcmpex compares two strings, a 'truth' and a 'test' where the truth
represents the desired match and the test is a user-entered value. The goal of
this function is to facilitate a code comparison puzzle where the user enters a
number and is given feedback for each character in the test sequence, such as:
- correct value in the correct position
- incorrect value, not in the truth string at all
- partially incorrect value, is in the truth string but wrong pos the
inputs are character arrays (strings) and the output is an array of values from 0 to 2, where:
- 0 represents correctness
- 1 represents incorrectness
- 2 represents a valid character in the wrong position
To run tests:
sampctl package run
Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem