Beispiel #1
0
        static void Main(string[] args)
        {
            Stopwatch t = new Stopwatch();
            t.Start();
            Moteur m = new Moteur();
            var d = m.GetValue("01001S8S9?????");
            Console.WriteLine(d);
            t.Stop();
            Console.WriteLine(t.Elapsed);

            Console.ReadLine();
        }
        //
        // GET: /TnyPoker/
        public ActionResult Gamble()
        {
            var a = Request.QueryString["Game"];
            var b = Request.QueryString["MoveId"];
            var c = Request.QueryString["Referee"];
            var m1 = Request.QueryString["Move1"];
            var m2 = Request.QueryString["Move2"];
            var e = Request.QueryString["Tray"];
            Moteur moteur = new Moteur();
            var d = moteur.GetValue(e);
            var url = c + "?Game=" + a + "&MoveId=" + b + "&Value=" + d;

            return Redirect(url);
        }