Sequence formats - PowerPoint PPT Presentation

1 / 6
About This Presentation
Title:

Sequence formats

Description:

... at the beginning of a line; tag value ... If no more cards, the player stays (the dealer gets 0). Next game begins with next player and new deck. Details ... – PowerPoint PPT presentation

Number of Views:16
Avg rating:3.0/5.0
Slides: 7
Provided by: daim
Category:
Tags: cards | deck | formats | of | sequence

less

Transcript and Presenter's Notes

Title: Sequence formats


1
Sequence formats
  • GDE
  • Each sequence delimited by s
  • Each tag followed by either string in quotes or
    whitespace-delimited string
  • creation-date 1/31/98
  • comments
  • blah blah blah
  • blah

2
Sequence formats
  • GenBank
  • Each sequence starts with the tag LOCUS and ends
    with //
  • Tags are located at the beginning of a line tag
    value lines begin with whitespace
  • Ignore tags you dont know
  • LOCUS HUMCYAA 3088bp DNA PRI
    15JUN-1989
  • ACCESSION M22877
  • ORGANISM Homo Sapiens
  • Eukaryotae motochondrial
    eukaryotes
  • blah blah blah
  • blah
  • //

Unique id
3
Centinel tournament
  • A deck the numbers 1..50 in random order
  • A game lasts until no numbers are left in deck
  • A game is played like this (first player is
    picked at random)
  • Player1 vs. dealer (player takes numbers first,
    then dealer)
  • All players are updated on the numbers taken by
    the dealer
  • All other players are updated on the numbers
    taken by the current player
  • Next player vs. dealer
  • Etc.
  • If no more cards, the player stays (the dealer
    gets 0). Next game begins with next player and
    new deck.

4
Details
  • Before each game newgame is called in all player
    objects
  • When a player is given a new number, give is
    called with the number as argument
  • When the dealer has taken numbers, the numbers
    are reported to all player objects through update
  • When a player has taken numbers, the update
    method is called in all other player objects with
    the list of numbers taken
  • A tournament lasts 100 games

5
(No Transcript)
6
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com