1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- # kruchess
- $metka = ''
- $loc = 'kruchess'
- frost = 0
- gs'stat'
- FColor = RGB(0,0,0)
- BColor = RGB(255,255,255)
- LColor = RGB(106,90,205)
- '<center><b><font color = maroon>Chess Club</font></b></center>'
- '<center><img src="images/locations/pavlovsk/community/kruchess.jpg"></center>'
- if hour > 20:
- 'Chess club is closed. The coach and some players are tidying away the boards and pieces.'
- act 'Leave':gt'gdkkru'
- else
- if week ! 6:
- 'The kids are sitting around playing practise games and watched over and helped by coach Genrikh G.'
- act 'Spend an hour practising with assistance from the coach':
- chess_exp += rand(pcs_intel/20,pcs_intel/10)
- intel_exp += 1
- minut += 60
- gt 'kruchess'
- end
- else
- 'On Saturdays, after a week''s training, club members spend the whole day playing against each other.'
- if chess_win<5:
- 'You are paired against Vitalik, the youngest boy in the club. Despite his age he has already achieved rank 4, the lowest official chess rank corresponding to an ELO rating of 1000+.'
- act'Play':
- cls
- $chess_name='Vitalik'
- chessV=40
- gt'chessplay'
- end
- end
- if chess_win>=5 and chess_win<10:
- 'You get to play against Kostya, who recently advanced to rank 3 after passing 1400 ELO points.'
- act'Play':
- cls
- $chess_name='Kostya'
- chessV=100
- gt'chessplay'
- end
- end
- if chess_win>=10 and chess_win<15:
- 'You sit down to play Sergei. You recall that he is a rank 2 player with an ELO rating of more than 1600.'
- act'Play':
- cls
- $chess_name='Sergei'
- chessV=300
- gt'chessplay'
- end
- end
- if chess_win>=15:
- 'You are facing the chess coach. At his peak he achieved an ELO ranking of over 2000, and despite his skills declining with age he still plays at the level of a rank 1 player.'
- act'Play':
- cls
- $chess_name='Coach Genrikh G.'
- chessV=800
- gt'chessplay'
- end
- end
- end
- act 'Leave':gt'gdkkru'
- end
- --- kruchess ---------------------------------
|