diff --git a/MonoNet.cs b/MonoNet.cs index 7070cd4..8048f45 100644 --- a/MonoNet.cs +++ b/MonoNet.cs @@ -4,13 +4,16 @@ using System.Net; using System.Net.Sockets; using System.Threading; using System.Threading.Tasks; +using System.Speech.Synthesis; +using System.Speech.Recognition; +using System.Speech.AudioFormat; public class MonoNet { public Mono mono; public MonoNet(Mono mono) { this.mono = mono; Random rnd = new Random(); - me = new Peer(rnd.Next(1, 256)); // temp, until unique usernames + me = new Peer(rnd.Next(1, 256)); // let the server determine these } public Socket socket; int bufferSize = 1024; @@ -30,6 +33,17 @@ public class MonoNet { wData = new byte[bufferSize]; peers = new Peer[64]; + // SpeechSynthesizer synth = new SpeechSynthesizer(); + // synth.Speak("oriels!"); + + // SpeechRecognitionEngine reco = new SpeechRecognitionEngine(); + + // System.IO.Stream s; + // // s.Write(); + + // SpeechAudioFormatInfo info = new SpeechAudioFormatInfo(EncodingFormat.Pcm, 16000, 16, 1, WaveFormatTag.Pcm, 1, 1); + // reco.SetInputToAudioStream(s, info); + Thread.Sleep(1000); // useful? Thread readThread = new Thread(Read); diff --git a/README.md b/README.md index 23b899a..731258f 100644 --- a/README.md +++ b/README.md @@ -23,10 +23,31 @@ - gif maker ## override -15 days left for the sterokit comp +10 days left for the sterokit comp -1/3 mvp: +MVP +switch between cursors with a button (quick press(b) on both hands to switch/cycle through the two handed ones) long press(b) on one hand to swap mainhand -2/3 polish: +movement: + fullstick + teleport and drag + bezier rails -3/3 accessibility: \ No newline at end of file +blocks you can manipulate with spatial cursors (trackballer) ++ and color them with the color cube (player colors + +see and use a parabolizer (sci fi thingy) + +inverse orbital (control a shooty thing with fullstick and spatial cursor) + + +POLISH +fix (server sending back your data) +*just show them red when hit* +bezier in color cube +calibrate cubic flow + sensitivity +press and twist to adjust sensitivity (long press(b) and trigger for value *keep cursor active) (min 1:1) + + +ACCESSIBILITY +show how the dofs work (debug visuals *CMY) \ No newline at end of file diff --git a/oriels.csproj b/oriels.csproj index a7aaa31..d54e767 100644 --- a/oriels.csproj +++ b/oriels.csproj @@ -8,6 +8,7 @@ +