import wixUsersBackend from 'wix-users-backend'; import {fetch} from 'wix-fetch'; const CLIENT_ID = '1112811133259218974'; const CLIENT_SECRET = 'MorYUCBU0MLMKdAnkggpOxon-GaXSbLG'; const REDIRECT_URI = ''; // Handles the authentication callback export function myApp_auth_callback(request) { const code = request.query.code; const tokenEndpoint = ``; const payload = { grant_type: 'authorization_code', code, redirect_uri: REDIRECT_URI }; const options = { method: 'POST', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': `Basic ${Buffer.from(`${CLIENT_ID}:${CLIENT_SECRET}`).toString('base64')}` }, body: Object.keys(payload) .map(key => encodeURIComponent(key) + '=' + encodeURIComponent(payload[key])) .join('&') }; return fetch(tokenEndpoint, options) .then(response => response.json()) .then(data => { const accessToken = data.access_token; // Use the access token to authenticate the user and handle the login logic here // e.g., create a session for the authenticated user // wixUsersBackend.createSession() }); }
top of page


Everything you need to know about this game that runs over the course of the entire year.

Current Medal Table

Check who's leading in this game midway through the year, in terms of medals won.

Game Mechanics

The yearly game takes the Weekly Game's stock picks as baseline, so there's no game rules you need to know to play this game. The game's mechanics are as follows. The top 3 players in the Weekly Game, so, the podium, will be awarded a Gold, Silver and Bronze medal. These medals will then go into this game's leaderboard, each week. By the end of the year, the leaderboard will be filled with all the members who won medals, literally like in the Olympic Games. The winner of the game will be the member with the most Gold medals by the end of each year. In case of a tie in Gold medals, total number of medals will serve as a tiebraker.

Here's a theoretical example of how a leaderboard would look like at the end of the year:

bottom of page