samp.directory
← Betikler ve kütüphaneler

Southclaws/samp-guess-word-game

A function request I received. Good example of sampctl.

Kütüphane★ 1Şub 2018 güncellendiLisans yokPAWNsampctlArşivlendi
GitHub’da aç

Yazar bu depoyu arşivledi, bu yüzden artık bakımı yapılmıyor.

Bu deponun lisans dosyası yok. Okumak için herkese açık, ama bu tek başına yeniden kullanma izni vermez.

sampctl ile kur

sampctl package install Southclaws/samp-guess-word-game

Bunu proje klasöründe çalıştır. sampctl paketi ve bağımlı olduklarını indirir.

3 pakete bağımlı

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

Bu sayfa GitHub’ın depo hakkında yayımladıklarından oluşturulur. samp.directory kodu barındırmaz. Bu ilanla ilgili bir sorun bildir